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

DateTimePicker Mode

4 Answers 84 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Abdul
Top achievements
Rank 2
Abdul asked on 18 Feb 2011, 04:16 PM
Hi All,

Like Silverlight Control is there a way to change input method of DateTimePicker to Month... I want my Calander to show only name of months and years

4 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 21 Feb 2011, 06:10 AM
Hello Abdul,


Checkout the code library demonstrates how to implement month/year picker using FastNavigation component of DatePicker.
Month/Year picker

Hope this helps you.

-Shinu.
0
Abdul
Top achievements
Rank 2
answered on 21 Feb 2011, 01:34 PM
What changes I need to do to show only years ?
0
Abdul
Top achievements
Rank 2
answered on 21 Feb 2011, 03:00 PM
If It gives the following error when added RadAjaxManager to page

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)

Then Please enclose script block in a RadScriptBlock block. 
0
Accepted
Sebastian
Telerik team
answered on 21 Feb 2011, 03:55 PM
Hello Abdul,

To address the error, consider wrapping your javascript code which contains server code blocks inside RadCodeBlock or RadScriptBlock.

Furthermore, you may be happy to know that with the Q1 2011 release of the AJAX suite (ETA is mid March) we will introduce a separate month/year picker control. The Q1 2011 Beta version is expected at the end of this week, you may want to give it a spin.

Best,
Sebastian
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Calendar
Asked by
Abdul
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Abdul
Top achievements
Rank 2
Sebastian
Telerik team
Share this question
or