Showing posts with label infragistics. Show all posts
Showing posts with label infragistics. Show all posts

Monday, March 26, 2012

UpdatePanel + Infragistics Treeview

I am trying to create a very simple UpdatePanel + Treeview page. The data is initally loaded (via code, recursive nodes added in code behind) the tree loads fine.

As soon as I click on a node (and capture the NodeClick event) the Tree view stops working and reports a Javascript error. "Microsoft JScript runtime error: 'undefined' is null or not an object"

Has anyone seen this before? Do the Infragistic controls not work with Atlas?

Thanks in advance.

Are you using the Tree's Automatic SmartCallback LoadOnDemand behavior, or Manual LoadOnDemand? I would recommend using the Tree's own AJAX enabled LoadOnDemand functionality, even inside of the UpdatePanel, since you really only need to update the tree. If you still have difficulty, please contact Infragistics Developer Support (http://devcenter.infragistics.com)

Also, if you have a valid Subscription, we are about to release our 2006 Volume 2 Beta. We've made some changes in order to better support Atlas, and it would be great if you could validate whether it fixes your current problems or not.

-Tony

Anthony Lombardo
Infragistics, Inc.
Product Manager | NetAdvantageASP.NET

Saturday, March 24, 2012

UpdatePanel and 3rd Party Controls

I've been doing some tests with Infragistics controls (v.2006 CLR2.0) and finding many problems with them when they're on the same page as the UpdatePanel. Even when they're not inside the panel, they don't render properly after an Atals callback, they lose their client-side js events, etc. Figured it was just a conflict in the way Infragistics was doing their rendering, until I downloaded another toolset (Janus Systems) that started exhibiting the same behavior.

Is there something about the way the UpdatePanel renders that is problematic for 3rd party vendors? I find it odd that these components re-render when there's an UpdatePanel callback when they'renot inside the panel. Is this a problem with the 3rd party components or the way UpdatePanel is architected? We're trying to make some purchasing decisions on a toolset and this is causing much consternation.

Thanks for any input anyone can provide.

Andy

We are having the same issue with Infragistics controls (2005v3) and both the MS Atlas UpdatePanel controls and another AJAX implementation, MagicAjax. I would like to see if anyone else has found a workaround or at least the root cause as well.