I got a datetimepicker. Displaying short date format. If I do the size of the control to suit that format, the drop down showing the month is very small. User can use the handle in the bottom right corner to resize it, but I want it to show nicely to start with. Any way to do that other than increasing the width of the datetimepicker (which leave a lot of blank space to the right)?
10 Answers, 1 is accepted
0
Hello Lovsten,
We have provided a property the purpose of which is to change the size of the drop down, namely the CalendarSize property.
You could use the following code snippet as an example how to change the size of the drop down:
Regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We have provided a property the purpose of which is to change the size of the drop down, namely the CalendarSize property.
You could use the following code snippet as an example how to change the size of the drop down:
this.radDateTimePicker1.DateTimePickerElement.CalendarSize = new Size(300, 150);
Please tell me if I could be of your further assistance.Regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Lovsten
Top achievements
Rank 1
answered on 01 Oct 2007, 08:56 AM
Worked like a charm. Thanks.
0
Erik
Top achievements
Rank 1
answered on 10 Oct 2007, 12:29 PM
Hi Telerik,
I set
me.radDateTimePicker1.DateTimePickerElement.CalendarSize = new Size(300, 150);
But the height is not resized. Any setting for this? I tried Autosize. Nothing happen.
Please help. Thanks
I set
me.radDateTimePicker1.DateTimePickerElement.CalendarSize = new Size(300, 150);
But the height is not resized. Any setting for this? I tried Autosize. Nothing happen.
Please help. Thanks
0
Are you setting the height in the theme by any chance? Please, check this and let us know of the result.
All the best,
Rob
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
All the best,
Rob
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Erik
Top achievements
Rank 1
answered on 10 Oct 2007, 02:53 PM
I dont think so because I just drag from toolbox and use it. Anything to do with MaxSize or MinSize both are (0,0).
Thanks
Thanks
0
Hi Erik,
Could you please open a new support ticket and send us a sample project reproducing the erroenous behavior as we cannot reproduce it? Thanks in advance.
Best wishes,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Could you please open a new support ticket and send us a sample project reproducing the erroenous behavior as we cannot reproduce it? Thanks in advance.
Best wishes,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
selvakumar
Top achievements
Rank 2
answered on 09 May 2009, 04:42 AM
Can we disable the resizing property of the raddatetimepicker?
Thanks in advance..
Thanks in advance..
0
Hello selvakumar,
Here is the sample code which disables resizing:
RadDateTimePickerCalendar calendarBehavior = (this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar);
calendarBehavior.DropDownSizingMode = SizingMode.None;
I hope this helps.
Best wishes,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Here is the sample code which disables resizing:
RadDateTimePickerCalendar calendarBehavior = (this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar);
calendarBehavior.DropDownSizingMode = SizingMode.None;
I hope this helps.
Best wishes,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
PROGRA
Top achievements
Rank 1
answered on 24 Jun 2013, 05:37 PM
Ésto forma Funciona muy bien, Pero yo lo cargo con la ONU Tamano, y con la Herramienta de la esquina inferior Cambio el tamano de la ONU uno mas grande, selecciono la Fecha y sí contrae todo bien el Problemas es CUANDO vuelvo a la Pantalla emergente del calendario de Como le hago Para Qué respete el tamano
al inicio
al inicio
0
Hello,
I would kindly ask you to post your question in English in order to allow us to address your question for you. Please note that English is the official language for correspondence with the support teams in Telerik, hence we will ask you to post all future questions in English.
Thank you for the understanding.
Regards,
Stefan
Telerik
I would kindly ask you to post your question in English in order to allow us to address your question for you. Please note that English is the official language for correspondence with the support teams in Telerik, hence we will ask you to post all future questions in English.
Thank you for the understanding.
Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>