/dev/null [tony lombardo]

Anything and everything ASP.NET and more. Expect to see tips and tricks, opinions on new technology, and fun code samples, along with the occasional rant.
Live From Redmond - Episode 1 Code

For those of you who attended the live WebCast (or are watched the recorded version), here's the code for the example that I was putting together. 

About the Sample

The neat part about this application is that is not only uses NetAdvantage controls inside of the UpdatePanel, but it then puts the UpdatePanel into an Infragistics Panel.  If that wasn't enough, it also uses the Client-Side object model of both the WebToolbar and the WebTree to provide search functionality which results in triggering an Async post from the UpdatePanel.  Truly a fine example of interoperability between NetAdvantage for ASP.NET and Microsof'ts UpdatePanel. 

Loose Ends

A couple of things I never got around to doing with this sample..  I wanted to use the WebResizingExtender to provide splitter functionality.  This should be as simple as copy/paste from the AJAX sample in the Samples Browser.  Also, I didn't completely think through the searching use case.. If you notice the search capability will only 'find' nodes that are actually visible in the tree.  This is because I'm using LoadOnDemand, so the nodes don't actually exist on the client-side until the parent node is expanded.  Of course I could turn off load on demand on the tree (there weren't that many child nodes anyway), but there are a couple of other options..  The two I can think of would be to perform the search server-side, or use the CSOM of the Tree to manually expand each node before searching.

Feel free to post your questions/comments here.

 

Posted: 20 Apr 2007, 11:21
Filed under: ,

Comments

Randy said:

Tony,

Your slide stated that the Infragistics controls were toolkit compatible. That is not entirely true.

You can not use the image buttons inside the modalPopup extender or to active it (for example).

They may be other problems as well and your technical support stated that Infragistics was aware of this problem and catagorized it as "not to fix".

I believe that this is a mistake.

However, I also believe that you can not make a general statement that your controls are "toolkit compatible" when they are not completely interchangeble with ASP controls,

# April 21, 2007 11:33 AM

Tony Lombardo said:

Hi Randy,

My intention was not to mislead anyone into thinking that every Toolkit extender would work with every Infragistics control.  During the webcast, I mentioned that many of the extenders are built specifically for the update panel (or in the modalPopup extender case, asp:button), making compatibility with some of the Infragistics controls a problem.  

Because the modal popup extender expects asp:buttons, making the ImageButton work would require some significant changes.  Changing the underlying architecture of the Infragsitics ImageButton to make it work with a control that was written 2 years after it may not be the best idea at this point - but other than that our options are very limited. What we decide to do is eventually left up to you, the customer.  If we get an overwhelming number of requests for the ImageButton to support the ModalPopup, our decision will be pretty easy to make.

Thank you for your feedback, and I'll be sure to forward this on to Devin - the NetAdvantage for ASP.NET Product Manager.

# April 23, 2007 9:36 AM

Joe Stagner - Frustrated by Design ! said:

The winner of the FREE COPY of Netadvantage is Rich Burroughs. You can download the code samples here:

# April 23, 2007 1:35 PM

Priyanka said:

How can we get the Netadvantage appstyling website template in visual studio 2005?

# May 3, 2007 8:28 AM
New Comments to this post are disabled