Newbie AJAX question about Partial Rendering

7 posts, 0 answers
  1. P
    P avatar
    6 posts
    Member since:
    Jul 2008

    Posted 01 Jul 2008 Link to this post

    I'm currently looking at a few issues regarding Partial Rendering and I was wondering how easy (or if it's possible) to change our use of Telerik controls from using Partial Rendering to a more...traditional AJAX approach in order to avoid excessive data sent over the wire?

  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 04 Jul 2008 Link to this post

    Hello,

    Can you please elaborate more on your question? What do you mean by "more traditional AJAX approach"? Can you share what kind of issues do you get?

    Kind regards,
    Konstantin Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. P
    P avatar
    6 posts
    Member since:
    Jul 2008

    Posted 04 Jul 2008 Link to this post

    As an extreme example if I press a control that changes a label then in a more 'traditional' ajax call I'd expect a simple service call and for it to return something along the lines of <control id=label>NewValue</control>
    So over the wire I've spent ~30 bytes and the servers processed the request with minimal fuss. Whereas if it's partial rendering then I'll get a lot of extra fluff returned and the whole page life cycle runs, a particular problem if I've got a lot of dynamically created controls. Now I understand the benefits of partial page rendering but I was wondering if it was possible to have the choice.

  4. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 07 Jul 2008 Link to this post

    Hello,

    Indeed, the AJAX approach would preserve the page life cycle which concerns the RadAjax as well.

    I'd suggest you look into the AJAX WebServices option instead. A few tutorials are available for example here.

    All the best,
    Konstantin Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. P
    P avatar
    6 posts
    Member since:
    Jul 2008

    Posted 07 Jul 2008 Link to this post

    Thanks for the reply, sorry if this is (another?) dumb question but are you recommending I write my own JS rather than use a control or is there a way to make use a RadControl work with such a web service?

  6. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts
  7. P
    P avatar
    6 posts
    Member since:
    Jul 2008

    Posted 08 Jul 2008 Link to this post

    Thanks, that looks great.
Back to Top