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

[Solved] How to send selected Calendar date information to Controller/Action

1 Answer 58 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joe
Top achievements
Rank 1
Joe asked on 25 Mar 2011, 10:03 PM

What is the easier way to send the calendar selected date to specific Controller/Action

 

 

<%

 

: Html.Telerik().Calendar().Name("Calendar").Value(DateTime.Now)

 

 

.Selection(settings => settings

 

.Action(

 

"Action", "Controller", new {selectedDate = ????}))

 

 

%>

What should I put in the "????" area for the current selected date?
Thanks for the information.

1 Answer, 1 is accepted

Sort by
0
Todd
Top achievements
Rank 1
answered on 11 Apr 2011, 12:06 AM
I thought that the date was passed in for you in the shortdate format, meaning mm/dd/yyy.
Tags
Calendar
Asked by
Joe
Top achievements
Rank 1
Answers by
Todd
Top achievements
Rank 1
Share this question
or