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

how to manage rows of datetimepicker according to page size

2 Answers 65 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
raj
Top achievements
Rank 1
raj asked on 27 Mar 2012, 01:15 PM
Hi,
I am using Calendar control in my application, i have a requirement like this.
Calendar 's row property should be set according to the page size(height),
for example :
if the page size (height) is maximum the Row of Calendar should display more rows according to available space, if the page size is less then Calendar 's Row value must set to 1

I am suing scrollviewer as my parent container i want to set the row value according to scrollviewer's height.

Please help me.

Thanks in advance,

2 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 30 Mar 2012, 09:15 AM
Hi,

I am not quite sure that I have understood your requirement, but I think you are talking about the Rows property of RadCalendar and not RadDateTimePicker. If this is the case, your scenario is not supported out of the box as this Rows can't change dynamically to fill the available space, however you can create your custom code that measure the available space and set the Rows accordingly.

Please excuse me if I have not understood your scenario right. In this case, we will be glad to help if you provide some more info.

Greetings,
Boyan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
raj
Top achievements
Rank 1
answered on 30 Mar 2012, 12:39 PM
Hi Boyan,
Thanks for reply,
Sorry it was my fault, its not a datetime picker, its a Calendar control, any ways your reply is guided me.

thanks.
Tags
DateTimePicker
Asked by
raj
Top achievements
Rank 1
Answers by
Boyan
Telerik team
raj
Top achievements
Rank 1
Share this question
or