This is a migrated thread and some comments may be shown as answers.

Newbie AJAX question about Partial Rendering

6 Answers 60 Views
AJAX and Web 2.0
This is a migrated thread and some comments may be shown as answers.
P
Top achievements
Rank 1
P asked on 01 Jul 2008, 12:51 PM
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?

6 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 04 Jul 2008, 12:37 PM
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
0
P
Top achievements
Rank 1
answered on 04 Jul 2008, 06:50 PM
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.

0
Konstantin Petkov
Telerik team
answered on 07 Jul 2008, 07:53 AM
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
0
P
Top achievements
Rank 1
answered on 07 Jul 2008, 09:50 PM
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?

0
Konstantin Petkov
Telerik team
answered on 08 Jul 2008, 08:16 AM
0
P
Top achievements
Rank 1
answered on 08 Jul 2008, 06:53 PM
Thanks, that looks great.
Tags
AJAX and Web 2.0
Asked by
P
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
P
Top achievements
Rank 1
Share this question
or