The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages - More
> ASP Programming
|
Need help updating a website
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.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 3rd, 2012, 09:37 AM
|
|
Registered User
|
|
Join Date: Jan 2012
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?
Here is the code that I changed
<td width='90'><div align='center' class='style4'>Poplar</div></td>
<td width='70'><div align='center' class='style4'>FJ Poplar</div></td>
<td width='70'><div align='center' class='style4'>MDF</div></td>
<td width='70'><div align='center' class='style4'>FJ Pine</div></td>
<td width='70'><div align='center' class='style4'>Knotty Pine</div></td>
<td width='90'><div align='center' class='style4'>Clear Pine</div></td>
<td width='70'><div align='center' class='style4'>Red Oak</div></td>
The old values from those cells still show up.
Any insight anyone can provide me would be greatly appreciated.
Thanks
Caley
|

January 4th, 2012, 02:19 AM
|
|
|
|
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
|

January 4th, 2012, 08:30 AM
|
|
Registered User
|
|
Join Date: Jan 2012
Posts: 5
Time spent in forums: 47 m 23 sec
Reputation Power: 0
|
|
|
I wish that was the problem. I have tried in different browsers that haven't cached the site and that's not it.
|

January 4th, 2012, 11:28 AM
|
|
|
|
Try restarting IIS
|

January 4th, 2012, 01:11 PM
|
|
Registered User
|
|
Join Date: Jan 2012
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.
How would I restart IIS?
Thanks
|

January 4th, 2012, 04:47 PM
|
|
|
Open Control Panel - Administrative Tools, locate the IIS control panel. You can start and stop IIS from there.
|

January 4th, 2012, 05:17 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Posts: 5
Time spent in forums: 47 m 23 sec
Reputation Power: 0
|
|
|
I will give it a shot, thanks!
|

January 5th, 2012, 09:16 AM
|
|
Contributing User
|
|
Join Date: Feb 2007
Location: Charlotte
|
|
|
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.
|

January 5th, 2012, 09:45 AM
|
|
Registered User
|
|
Join Date: Jan 2012
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.
|

January 9th, 2012, 11:52 AM
|
|
Contributing User
|
|
Join Date: Feb 2007
Location: Charlotte
|
|
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.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|