Hi Y L,
You could try the following approach:
event handler you could get the selected date form the calendar and add the date into the Session variable. Then you could call RadGrid.Rebind()
sender, Telerik.Web.UI.Calendar.SelectedDatesEventArgs e)
SelectedDate = e.SelectedDates.Date;
The Rebind() method will force the RadGrid to fire its NeedDataSource
event. Into the RadGrid.NeedDataSource
event handler you could get from the database the events which is related for the selected date from the Session
] = value;
source, GridNeedDataSourceEventArgs e)
DataTable table =
// get events by SelectedData
RadGrid1.DataSource = table;
Additionally I am sending you a simple example which demonstrates the desired functionality.
I hope this helps.
All the best,
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.