Hi i get data from client side using JQuery and JSON webservice, can i bind this data to RadGrid on Client side without postback
i need to do the following thing on client side
1. Create template columns on client side ?
2. Sorting and Paging clientside
3. Clear RadGrid
can i have RadGrid with the dropdown column like Dropbox , can i create this on client side i attach the picture of DropBox screen shot
i need to do the following thing on client side
1. Create template columns on client side ?
2. Sorting and Paging clientside
3. Clear RadGrid
can i have RadGrid with the dropdown column like Dropbox , can i create this on client side i attach the picture of DropBox screen shot
4 Answers, 1 is accepted
0

Princy
Top achievements
Rank 2
answered on 05 Aug 2011, 06:29 AM
Hello Johnny,
Check the following demo which implements same functionality.
Grid / Declarative Binding.
In order to show a Dropbox you can use GridDropDownColumn. Check the following help documentation which explains more about this.
Column Types.
Thanks,
Princy.
Check the following demo which implements same functionality.
Grid / Declarative Binding.
In order to show a Dropbox you can use GridDropDownColumn. Check the following help documentation which explains more about this.
Column Types.
Thanks,
Princy.
0

Johnny
Top achievements
Rank 2
answered on 05 Aug 2011, 08:09 AM
hi my scenario is different
i let the user to perform more than 5 different operations and get the data from jquery and depend on the result i need to hode or show some dropdownitens on dropdown columns and need to hide some columns
for example Button OnClientClick event i need to to bind the data to the RadGrid is it possible?
can i set this
i let the user to perform more than 5 different operations and get the data from jquery and depend on the result i need to hode or show some dropdownitens on dropdown columns and need to hide some columns
for example Button OnClientClick event i need to to bind the data to the RadGrid is it possible?
<
ClientSettings
>
<
DataBinding
Location
=
"WebService.asmx"
SelectMethod
=
"GetData"
SelectCountMethod
=
"GetCount"
/>
<
ClientEvents
OnDataBinding
=
"RadGrid1_DataBinding"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
can i set this
SelectMethod
=
"GetData"
from javascript with Parameters0

Johnny
Top achievements
Rank 2
answered on 09 Aug 2011, 05:05 AM
hi i am waiting for ur reply then oni i need to decide to think about the client side transfer
0
Hi Johnny,
I believe you need Programmatic Client-Side Databinding for RadGrid. You can perform a custom service call, retrieve the result and pass it to RadGrid for databinding. Paging is supported with client-side databinding and you need to pass the paging parameters to your web service and retrieved the paged result set. Sorting is also supported and you need to send the sorting parameters to your web service and perform the sorting there. So, effectively, RadGrid builds the sorting and paging parameters for you, while your web service needs to accept them and return a resulting sorted and paged subset of the data. You then pass the result to RadGrid for databinding.
Note that you cannot create grid columns on the client-side. RadGrid can only use whatever column it has created from the server.
Greetings,
Veli
the Telerik team
I believe you need Programmatic Client-Side Databinding for RadGrid. You can perform a custom service call, retrieve the result and pass it to RadGrid for databinding. Paging is supported with client-side databinding and you need to pass the paging parameters to your web service and retrieved the paged result set. Sorting is also supported and you need to send the sorting parameters to your web service and perform the sorting there. So, effectively, RadGrid builds the sorting and paging parameters for you, while your web service needs to accept them and return a resulting sorted and paged subset of the data. You then pass the result to RadGrid for databinding.
Note that you cannot create grid columns on the client-side. RadGrid can only use whatever column it has created from the server.
Greetings,
Veli
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.