Showing posts with label updated. Show all posts
Showing posts with label updated. Show all posts

Monday, March 26, 2012

Detecting which UpdatePanel was updated for endRequest

I've got an issue where I'm trying to execute some javascript when a specific UpdatePanel on my page (I have about 5) is updated. I've added event handlers for initializeRequest and endRequest. I know that I can get the ID of the element that *caused* the postback - but I really don't want that. I need the id of the UpdatePanel that is being updated.

Then endRequest method that gets called after an UpdatePanel gets updated is called for any and all UpdatePanels - this ambiguity makes it difficult to know which UpdatePanel caused this request.

Any ideas?

Cheers,

Bobby

The endRequest event doesn't have the information you want. If you handle the pageLoaded event, the args parameter that gets passed in to your handler has a panelsUpdated property which returns an array containing the panels that were updated.

Saturday, March 24, 2012

Demo applications up to date?

I found the Atlas wiki demo and Dice r us demo application but they seem to be written for earlier versions of Atlas/AJAX. Will these be updated or does anyone know where there are other demo applications to be found? Also I'm looking for a demo app that shows drag & drop into a dropzone. Suggestions/Links?

you are right the demo is out of date.

actually, you can still use old demo for latest code.

you just need to know whats been change.

if you want i can send you the code for Drag & Drop demo.

i wrote the article for CollapsiblePanel, let me know if you interest


MIB426:

you just need to know whats been change.

if you want i can send you the code for Drag & Drop demo.

i wrote the article for CollapsiblePanel, let me know if you interest

Do you know what to change?

Yes please mail me, would love to take a look at it. Is it hard to do drag & drop? You can email me at dotnetslave@.yahoo.com. Thanks!!


Hi,

inthis thread you'll find an example of widgets done with the ASP.NET AJAX drag and drop engine and xml-script.