I have 2 WARPs, one is a search operation, so I do a search, which does an async postback and fills a webgrid with my results... when it returns what I want to do next is force the next warp to do a postback or refresh or something, so that I can get the second WARP to read the contents of the first (actually a column from the newly filled grid) and go do another async operation on those contents. but I cant kick off the second until the first is done. I'm sure this is a simple concept but can't seem to get it to work, any help would be appreciated.
Thanks
I hoped it was some thing this easy, but it wasn't. this didn't work for me.
So I have 2 WARPS. one called WARPSearch (it has a button, textbox and grid inside of it) and second called WARPAnalytics (which has a different grid in it)
When the button in Search is pressed, it calls a search routine which fills the SearchGrid, all of this is done async and very ajaxy. works great.
What I want to have happen next is when the SearchWARP finishs and returns (so I can interact with it) i want it to kick off another process in the WARPAnalytics that does a post back and some other operations that take a really long time. that is why i need to chain them and want them both to be async.
Anyone have an example of this kind of operation. It seems most of the demoes that infragistics posts have several warps being kicked off by ONE event, not chained.
thanks
you can try this.
when 1st WARP is in async post back you can register startup script with this WARP. there are two ways to do that you can find it in samples i guess.
with that startup script call a JS function and in that do warp2.refresh()
or you can set some hidden parameter if you want to call a perticuler function and on pageload check that hidden parameter if set then call that function.