how to manage rows of datetimepicker according to page size

3 posts, 0 answers
  1. raj
    raj avatar
    31 posts
    Member since:
    Jul 2011

    Posted 27 Mar 2012 Link to this post

    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. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 30 Mar 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. raj
    raj avatar
    31 posts
    Member since:
    Jul 2011

    Posted 30 Mar 2012 Link to this post

    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.
Back to Top