Welcome Guest Search | Active Topics | Sign In | Register

EO objects Incompatible with Ajax Control tool kit, why ? Options
xtremexploit
Posted: Wednesday, February 27, 2008 11:38:44 AM
Rank: Member
Groups: Member

Joined: 2/24/2008
Posts: 27
Hi, I have a callbackpanel, and inside of my callbackpanel I have a DropDownExtender (Ajax control tool kit)

why is not working, If I remove the callback panel, then my page does postbacks, and the DropDownExtender is working...

why EO controls are incompatible with UpdatesPanel, ajax control toolkit, etc...

This is not logic to force to the developer to use EO controls without using AJAX EXTENSIONS!!!!!!!
eo_support
Posted: Wednesday, February 27, 2008 12:16:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,092
Hi,

When using certain controls, especially those that rely on JavaScript inside an AJAX Update Panel you would often run into problem. This is generally because the control usually initializes itself when the page loads, and when an AJAX update occurs, the HTML contents is changed, so the control do need to be reinitialized, but there is no pageload events, so no initialization actually occurred. Thus causes the problem.

We implemented various improvements on our CallbackPanel control to detect this situation and try to automatically reinitialize the control when possible. However, the control itself, in this case, the DropDownExtender may also try to take care of the situation by itself. DropDwonExtender's implementation is strictly bound to ASP.NET AJAX's UpdatePanel, which means it specifically try to only with ASP.NET AJAX UpdatePanel, which makes it hard for us to intervene. The decision doesn’t seem to be a problem for most users because to be able to use AJAX Extensions, your project must be using ASP.NET AJAX at the first place. We will look into it and see if it is possible to better support these scenarios. In the mean time, you may want to rely on ASP.NET UpdatePanel for that particular scenario.

In many other cases, nothing would work if the control is not prepared to be AJAXed at all. A typical example is that Microsoft's own ASP.NET Menu does not work with its own ASP.NET AJAX UpdatePanel.

Hope this makes sense.

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.