Hi Tomasz, On Fri, Sep 10, 2010 at 11:45 PM, tomasz bandura <[email protected]> wrote: > Hello , > > Is it possible to set ActionResult from Panel? > > Or is it posssible to invoke Panel directly?
You can add a Behavior to a Panel and handle the Ajax request in the onAction event. This demo[1] I uses Panels in this way. Technically it uses a Panel subclass called, Window, which encapsulates the styling needed to draw the window. [1]: http://click-jquery.appspot.com/ajax/lazy-load-demo.htm Kind regards Bob > Currently for ajax requests I use pages and it works, > but I'd like to divide my main page into panels ( each panel has his > own ajax actions ) > > One of the possible solution is use panels on main page and wrap into > page for ajax requests. > > But i am not sure if that solution is the best. > > regards > > Tomasz >
