Wednesday, March 21, 2012

ComponentArt and Extenders

So I hope I am just being stupid, and this is a easy fix. I am using the ComponentArt callback control, because for the time being at least, they are much more powerful than the UpdatePanel. I love the extenders and want to use them. So I wish to dynamically add controls and extenders. Now the scriptmanager does not register the extenders I add in a callback. So I make a new extender on the server callback, add it to me Callback control, then let is render. The scriptmanager is at a page level and the controls are being added in a component art callback. Any suggestions? Anyone else get this to work?

ThanksHi Pinger,

I'm really not sure how ComponetArt's callback control mechanism works. I know theUpdatePanelcompletely rebuilds the client side control hierarchy when it silently handles a postback (from the high level overview on the ComponentArt website, it mentions maintaining the ASP.NET viewstate, but not the "Atlas" client side control hierarchy). We've actually had a number of bugs related to this in the past because it's a little tricky to keep your behavior consistent when it's being silently torn down and recreated. You may try posting your question on their forums as they'll know a lot more about how their callback control works with "Atlas" behaviors.

Thanks,
Ted
Thanks. I did post there too, but I am just asking here too just to see if anyone else had an idea. I will however, post it I figure it out. The UpdatePanel is very nice, there are just a few things missing from it that prevent me from switching.

Extenders are looking really good, I think some work needs to be done on adding the dynamically but I am sure that will be all worked out in the end. But regarless I would tip my hat to you guys, if they let me ware one at work that is, great job so far.

No comments:

Post a Comment