Setting height/width of scheduler using javascript

2 posts, 0 answers
  1. Trent Devers
    Trent Devers avatar
    3 posts
    Member since:
    Apr 2008

    Posted 23 May 2011 Link to this post


    Is there a way to set the height/width of the scheduler using javascript on page load / resize the scheduler when the window is resized?

  2. Gimmik
    Gimmik avatar
    170 posts
    Member since:
    May 2011

    Posted 23 May 2011 Link to this post

    Hi Trent,

    I tried to do this a while ago while playing with the RadScheduler. I don't think there is a way to adjust the control from the client-side. I think you can adjust the width from the server-side PreRender event for the RadScheduler. The control will need to re-render after the window is resized, so that seems like a logical place to change the width. Server-side changing of the width is trivial.

    RadScheduler1.Width = Unit.Pixel(700);

    Hope this helps!
  3. DevCraft R3 2016 release webinar banner
Back to Top