Setting the row height

6 posts, 0 answers
  1. Peter
    Peter avatar
    24 posts
    Member since:
    Sep 2011

    Posted 16 Nov 2011 Link to this post

    hi,

    I have a scheduler on an MVC page, doing web-services mode.

    In my case the week view and the month view need a different row height. The days have a row corresponding to 5 minutes, which works well with a small row height. This results in the month view looking awful.

    I want to change the row height when switching view. There is an event on switching view, this is a server-side. My scheduler is running client-side (no choice doing mvc). I'm looking for a way to hook into the view-change client side.

    Any help appreciated

    Peter 
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Nov 2011 Link to this post

    Hello Peter,

    You can handle  OnClientNavigationComplete and Manually Add an AJAX Request to RadAjaxManager. In the server-side AjaxRequest event handler you can specify the RowHeight conditionally based on the current view.

    Kind regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Peter
    Peter avatar
    24 posts
    Member since:
    Sep 2011

    Posted 17 Nov 2011 Link to this post

    hi,

    that's not going to work. The scheduler is living in an MVC page, there is no code-behind.
    I need a 100% script solution

    Peter 
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Nov 2011 Link to this post

    Hello Peter,

    Unfortunately, entirely client-side solution for this requirement is not possible. Please, accept our apologies for this limitation of our control.

    All the best, Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  5. Peter
    Peter avatar
    24 posts
    Member since:
    Sep 2011

    Posted 22 Nov 2011 Link to this post

    hi,

    thanks for the honest response. Make it a feature request :)

    Peter
  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 23 Nov 2011 Link to this post

    Hi Peter,

    I recommend you check in our MVC forums if there is some workaround to handle server-side events in MVC.

    Regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top