Discuss Need help updating a website in the ASP Programming forum on Dev Shed. Need help updating a website ASP Programming forum discussing Active Server Pages coding techniques and problem solving methods. Use VBScript or Jscript to make dynamic web applications.
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.
Posts: 5
Time spent in forums: 47 m 23 sec
Reputation Power: 0
Need help updating a website
I have been tasked with making some updates to a website built in MS SQL 2005. I have gotten most of the updates done but there is one that has got me stumped and I can't figure out how to fix it.
I have made changes to a .aspx.cs file (the html code in the file) but the revisions don't show up on the website. I made the changes directly to the file with my code editor. Is there a step that I am missing that needs to be done in order make the revisions show up on the website?
Posts: 13,894
Time spent in forums: 1 Month 3 Weeks 4 Days 15 h 10 m 20 sec
Reputation Power: 4227
Try clearing your browser cache.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
Posts: 5
Time spent in forums: 47 m 23 sec
Reputation Power: 0
I have found a new problem, I deleted the .aspx.cs file from the server and the windows are still coming up with all of the information that I thought was supposed to be grabbed from there. I am completely lost and I'm not sure I will be able to fix this issue.
Posts: 404
Time spent in forums: 4 Days 23 h 55 m 20 sec
Reputation Power: 142
1. You're in the wrong forum. This is the CLASSIC ASP forum, you are obviously describing ASP.NET, which is the next forum down.
2. You did not edit the aspx.cs file. That is the "code behind" file, it does not contain *any* html markup. You edited the .aspx file.
3. Probably what is happening, is the control is being populated with the code behind file. It is probably not a "static" page. The code is probably pulling the values from a table somewhere and putting them into the table or something.
4. You will not even SEE .cs files on a properly created website. Those all get compiled into a DLL. Only the .aspx (html) files get copied to a website.
5. You have a lot to learn, might want to get somebody who knows what they're doing.
Posts: 5
Time spent in forums: 47 m 23 sec
Reputation Power: 0
Thanks Ronster.
Actually I didn't originally post to this forum, it was moved here for me.
I do have a lot to learn and I never should have taken this on, but that's hindsight.
I didn't build the site so I don't know if it was done properly or not, all I know is that the page that I am trying to edit... the .aspx has this code Codebehind="ProductDetails.aspx.cs" which would make me thing that it pulls the information from that .aspx.cs.
It obviously pulls from a table and I am in the process of figuring that out, which I why I came here. If I don't figure it out, I will pass it along to someone that knows what they are doing.
Posts: 404
Time spent in forums: 4 Days 23 h 55 m 20 sec
Reputation Power: 142
Quote:
Originally Posted by cwalsh
Thanks Ronster.
I didn't build the site so I don't know if it was done properly or not, all I know is that the page that I am trying to edit... the .aspx has this code Codebehind="ProductDetails.aspx.cs" which would make me thing that it pulls the information from that .aspx.cs.
It obviously pulls from a table and I am in the process of figuring that out, which I why I came here. If I don't figure it out, I will pass it along to someone that knows what they are doing.
Yes... for each .aspx file, there is a corresponding .aspx.cs file.
The .aspx file contains the html markup. All of the aspx.cs files (that is where the C# code is) gets compiled into the DLL. (look in the \BIN directory
If all you have is what is on the website, and not the original source code.... you are pretty much out of luck. You won't have any idea of how it is getting populated.