How to change the data in Telerik's RadGrid based on Calendar's selected dates?

When you bind a new datasource to the grid control you need to call Rebind to have the grid show the new data. Alternatively you could use NeedDataSource event (more elegant solution in my opinion) For your second problem try this (assuming you're using ASP. NET Calendar and not Telerik DatePicker: if(Calendar1.SelectedDate.

Date == DateTime. MinValue) { //no date selected } else { //date is selected }.

I am not familiar with these functions. =( – Jronny Feb 24 '10 at 7:21 1 just add RadGrid1.Rebind(); right after RadGrid1. DataSource = DataSource; in your BindData method – Marek Karbarz Feb 24 '10 at 7:22 It just works!Thanks.

– Jronny Feb 24 '10 at 7:37 I updated my answer to (hopefully) answer your second question – Marek Karbarz Feb 24 '10 at 7:41 Well, I tried your solution for the second problem, but I just thought that this is not elegant enough. Well, I could just stick to this if there are no way we could check if selected is null, anyways. Thanks a lot.

=) – Jronny Feb 24 '10 at 7:44.

DataSource = queryDateRange. OrderByDescending(a => a. } else if (Calendar1.

Startdate = Calendar1. Var querySetDate = from entity in entities. Date = entity.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions