Welcome Guest Search | Active Topics | Sign In | Register

Jquery is not working when postback happened from EO callback panel. Options
Thowfiq Raja
Posted: Wednesday, May 25, 2011 3:25:18 AM
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
eo_support
Posted: Wednesday, May 25, 2011 8:50:25 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.