Rank: Member Groups: Member
Joined: 2/18/2011 Posts: 11
|
Hi,
Iam using jquery to slide(hide/show) left pane on my page. for the first time when the pageloaded everythting is woking fine as expected but after post back it is not.
I've EO callbackpanel on my page which is preventing the slide functionality after the postback. I also tried pageload() and Sys.Application.add_init() in my javascript but it didn't worked. could you please help me to resolve this.
Thanks Thowfiq
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
This maybe normal. For a control to work with any AJAX update panel, it has to be able to reinitialize itself after the update. This is usually not a problem for simple controls that does not require initialization, but it can be a problem for complex control that relies on JavaScript to initialize.
If the control does not know how to reinitialize itself, you can try to manually reinitialize it inside the CallbackPanel's ClientSideAfterUpdate. Note how to reinitialize the control would completely depend on the control. Different control may have different ways to reinitialize, or do not provide a way to reinitialize at all.
Thanks!
|