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

Binding a Grid on ComboBox select using OData binding

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 21 Feb 2012, 07:23 PM
Telerik Support Team,

We have an ADO.NET service which is hosted on a server. I would like to use a grid and bind it client-side using a data binding feature explained in one of the posts on the Telerik site. The grid should not be bind on load but should be bind when a user selects a value from a ComboBox. I know there is a support for filter options in a Data Service but don’t know how to get stated with it since there is no documentation found on your website.

Please advise how this can be achieved.

Thanks,

Ronak

1 Answer, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 24 Feb 2012, 01:18 PM
Hello Ronak,

In order to achieve your scenario you could go through the demo below which shows how the grid could be bind client-side with JavaScript code. You could move the code from the pageLoad function to the ComboBox selected index changed event. Note that in the demo PageMethods are used however, you could change it to load from ADO.NET service.

All the best,
Antonio Stoilkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Andrey
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Share this question
or