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

How to refresh RadGrid Parameters from DatePicker

1 Answer 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 18 Jan 2013, 10:18 PM
I have a RadGrid that pulls data based on FROM and TO dates. The dates are NOT in a column but set as Parameters for the SQL stored procedure that selects the data. How can I use RadDatePicker to update the parameters for the Grid?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Dave
Top achievements
Rank 1
answered on 18 Jan 2013, 11:32 PM
I was making this way harder than it really is...

In the Button_Click event just add:

Session("StartDate") = rdpStartDate.SelectedValue
Session("EndDate") = rdpEndDate.SelectedValue

Done.
Tags
Grid
Asked by
Dave
Top achievements
Rank 1
Answers by
Dave
Top achievements
Rank 1
Share this question
or