Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh problem on a control
Message
From
18/01/2010 16:34:26
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01442880
Message ID:
01444628
Views:
27
>>SOLVED!
>>I got an idea from another forum and it did the trick.
>>
>>What I did was used a query string to pass the new contributor id to the ShowPhoto.aspx page and that caused the page to always refresh as the url was always different.
>
>(ahem) That's what the code I posted did (except via a random #) ;-) Same idea though.
>
>
>Random rand = new Random();
>this.imgBoardPhoto.ImageUrl = @"~/ShowPhoto.aspx?i=" + rand.Next().ToString();
>
You know Paul you are absolutely right. I guess I didn't realize why you were doing that. Sorry. I am a bit thick headed at times when I am on a mission. :-)
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform