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

Load RadGrid with Web Service

1 Answer 187 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 01 Mar 2012, 07:23 PM
Hi!
Here's the thing, i was looking for a grid filtering with a date range on a column, i found the example on the follwing link: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

I did exactly the same and works great!, but now i want to load the radGrid datasource with a WebService, not with a SqlDataSource like in the example. I tried some options but the filter on the datePickers get lost after postback, i mean, the date i selected get lost from the control but the filter executes fine. It seems only with SqlDataSource works fine.

What options do i have? is possible to do this?


Thanks for helping me out.

1 Answer, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 06 Mar 2012, 12:44 PM
Hi Carlos,

Based on your description I have assembled a sample project but was not able to replicate the issue.Attached to this message, you will find the code which I used for testing.

Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out.

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
Carlos
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Share this question
or