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

Client-side binding

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wojciech
Top achievements
Rank 1
Wojciech asked on 02 Aug 2011, 11:42 AM
Hello, i want to bind my radgrid2 according to selected row in radgrid1 like in this example http://demos.telerik.com/aspnet-ajax/grid/examples/clientmasterdetails/defaultcs.aspx ; I can't get it to work, looks like javascript doesnt execute. I use sqldatasources for my radgrids <telerik:RadGrid ID="RadGrid2" runat="server" CellSpacing="0" DataSourceID="SqlDataSource5" (...) /> SqlDataSource5 is dependant on RadGrid1 selected column. It works ok on server side after postback, but i need to do it on client side. Any suggestions on what can be wrong or how to do it right?

1 Answer, 1 is accepted

Sort by
0
Accepted
Vasil
Telerik team
answered on 05 Aug 2011, 08:15 AM
Hi Wojciech,

If you want to bind the grid ClientSIde, you will need to transfer the required data from the server to client using a web service or a page methods. And binding to SqlDataSource can be done only ServerSide and will require a post-back.

Best wishes,
Vasil
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Wojciech
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or