Using RadAjaxManager to reduce payload

2 posts, 0 answers
  1. neebs
    neebs avatar
    106 posts
    Member since:
    Apr 2007

    Posted 28 Sep 2008 Link to this post

    This is a general question on a design approach I've been considering. I have an application that implements a wizard in a RadWindow. The wizard consists of about 10 pages, each in a PageView of a RadMultiPage. On the bottom of the page are buttons that say "Next" and "Previous". After filling out information on one page, the user will click "Next" and continue on the next page of the wizard.

    So far I've ajaxified this by wrapping the entire page in a RadAjaxPanel. This works fine, however I'm wondering if the payload during page refreshes is inefficient. Would it make sense to programmatically set which controls are updated during page transitions. I was thinking that from page 2, I would programmatically set page 3 to be updated by the Next button, and Page 1 to be updated by the Previous button for example.

    I'm also concerned that the large number of controls on the set of pages would make such an effort be monumental and lead to unmaintainable code.

    Thanks for your advice.

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 30 Sep 2008 Link to this post

    Hi neebs,

    Currently the ajax implementation you are using is the best one for your scenario.
     Unfortunately it will not be possible to set controls from one PageView the update controls from another because adding single PageView in RadAjax settings is not supported action. Even if you decide to use RadAjaxManager you should add the whole MultiPage to update itself in the manager settings which is actually equvalent to wrpping the whole MultiPage with a RadAjaxPanel.

    Kind regards,
    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top