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

Get the Calendar Cell values

1 Answer 73 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Brown
Top achievements
Rank 1
Brown asked on 14 Jun 2011, 02:20 PM
Hi,
I am using RadCalendar, in that i am displaying 3 values in the calendar cell.(Using Rad Window to enter 3 values and click on ok it should display in the Calendar cell.) While Click on the submit button i need to get all those 3 values and the particular  date. Could you pelase tell me how to do that.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 17 Jun 2011, 08:39 AM
Hi Brown,


You can retrieve the last selected/clicked date from the SelectedDates collection in SelectionChanged event.
protected void RadCalendar1_SelectionChanged(object sender, Telerik.Web.UI.Calendar.SelectedDatesEventArgs e)
 
   {
 
       if (e.SelectedDates.Count != 0)
 
       {
 
   Response.Write(e.SelectedDates[e.SelectedDates.Count - 1].Date.ToString()); // Last selected date
 
       }
 
 
 
   }


Best wishes,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Calendar
Asked by
Brown
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or