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
0
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
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.
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
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
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
Hello,
It depends on the control you work with. A couple of blog posts which you might be interested in:
Integrated support for Load-On-Demand from Web Services in RadControls “Prometheus”
as well as a couple of examples running live:
RadTreeView:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Programming/WebService/DefaultCS.aspx
RadMenu:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Menu/Examples/Programming/WebService/DefaultCS.aspx
RadComboBox:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/ComboBox/Examples/Programming/WebServiceShowMoreResults/DefaultCS.aspx
RadGrid:
Kind regards,
Konstantin Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
It depends on the control you work with. A couple of blog posts which you might be interested in:
Integrated support for Load-On-Demand from Web Services in RadControls “Prometheus”
as well as a couple of examples running live:
RadTreeView:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Programming/WebService/DefaultCS.aspx
RadMenu:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Menu/Examples/Programming/WebService/DefaultCS.aspx
RadComboBox:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/ComboBox/Examples/Programming/WebServiceShowMoreResults/DefaultCS.aspx
RadGrid:
- Client-side data-binding with RadGrid for ASP.NET AJAX, WebServices and LINQ - here and here.
- SQL Server sorting, paging and filtering with RadGrid client-side data-binding to WebService
- Client-side edit, update, delete and insert with RadControls for ASP.NET AJAX, WebServices and LINQ
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 08 Jul 2008, 06:53 PM
Thanks, that looks great.