Click here to Skip to main content
15,898,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can we change the control property in partial rendering if control not in updatepanel?
Posted

The easy answer is to either put it inside it's own UpdatePanel or move it to the one you've got.

The alternative is to roll your own ajax solution to the problem, and then jQuery[^] will probably come in handy.

Regards
Espen Harlinn
 
Share this answer
 
v2
Comments
Dalek Dave 14-Jan-11 10:07am    
Sage Advice.
Espen Harlinn 14-Jan-11 10:14am    
Thanks Dalek!
One of the ways to do it:
Here have a look at this article: JavaScript Access to Page Controls after Ajax Update (via Update Panel)[^]

You can access the control via Javascript once Update Panel's partial rendering is about to finish. Change the needed property and it will reflect.
 
Share this answer
 
You can update the control, which is outside the updatepanel using RegisterDataItem() method of ScriptManager. For details
Have a look
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900