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

[Solved] Web Service refresh for the Grid?

5 Answers 175 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Trevor
Top achievements
Rank 1
Trevor asked on 26 Jan 2008, 03:33 PM
I notice that there is a capability to refresh the new RadComboBox control using an ASP.NET Ajax Web Service, is the same functionality going to be added to the grid or have I missed it somewhere?

Thanks,

Greg

5 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 29 Jan 2008, 01:21 PM
Hi Greg,

In the present version of the control, the requested functionality is not available out-of-the-box. However, The control can be bound to the data provided by the web service. For example, you can prepare a datatable and bind the control to it. Further, you can make AjaxRequests, and rebind the control as needed, to reflect any dynamic information.

Greetings,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Trevor
Top achievements
Rank 1
answered on 29 Jan 2008, 04:03 PM
So I would call the web service on the server side or the client side?

I know that you can make ajax requests but with the new control you can only make ajax requests if you have an ajaxmanager control on the page correct?

I believe that the internal ajax logic has been removed from the grid?

In my application I have multiple "panels" on a page that display master/detail relationships and there can be up to 15 of these "panels" on the page, I would like to avoid having an ajaxmanager control in every panel (because they are added to the page dynamically at run-time, so they should be self-contained) and would also like to have the best performing refreshes of the grids.

In my testing it seems like when I do an ajaxrequest through the ajax manager it is still sending viewstate, etc back to the server.

Please correct me if I am making any incorrect statements above, I don't want to seem overly harsh I just want to be able to create the fastest performing application that I can.

Thanks,

Greg
0
Sebastian
Telerik team
answered on 31 Jan 2008, 11:57 AM
Hi Greg,

You can perform an ajax request to trigger the web service and then bind the grid content server-side as demonstrated in this online demo for RadGrid Classic:

http://www.telerik.com/demos/aspnet/Controls/Examples/Integration/AspNetAjax/AspAjaxGridApplication/DefaultCS.aspx?product=grid

The built-in ajax has been removed from RadGrid Prometheus and instead you can use RadAjaxManager to define ajax setting and perform asynchronous requests. More about the differences between RadGrid Classic and RadGrid Prometheus you can learn from this help topic dedicated on the subject:

http://www.telerik.com/help/radcontrols/prometheus/?grdMigrationToPrometheus.html

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Trevor
Top achievements
Rank 1
answered on 04 Feb 2008, 10:19 PM
Thank you for pointing me to the example to refresh the grid using a web service.  It still doesn't address my issue, however.  I'm trying to avoid transmitting the viewstate, etc for the entire page when I just want to update x number of rows in a single grid.  Also, because of the limitation with the RadAjaxManager which limits you to have one per page I need to change all of the pages that might use the same "panel" to make sure that they have an Ajax Manager.  This means that my panels are no longer self-contained and are relying on something from the parent page.

Thank you for trying to help me get through this, if this is something that could be added to a wishlist or something please do so.

Greg
0
Sebastian
Telerik team
answered on 07 Feb 2008, 01:42 PM
Hi Greg,

Thank you for your feedback. I will pass your suggestion to our developers to consider it for the future versions of RadGrid Prometheus. I hope that the current options explained previously in this thread are feasible workaround for you.

Best regards,

Stephen

the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Trevor
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Trevor
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or