RadSlider is not fully rendered

4 posts, 0 answers
  1. kascheev
    kascheev avatar
    2 posts
    Member since:
    Jan 2014

    Posted 15 Jan 2014 Link to this post

    Hello Support,

    I'm using Telerik Version = 2012.3.1308.35 and have the following problem:

    RadSlider is not fully rendered when inside RadGrid GridTemplateColumn and RadGrid is located inside a <div> element and postback is initiated

    Please find attached a sample application:
    - Run application
    - Press 'Show Grid' button
    - Ticks and tick labels are not rendered
  2. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 16 Jan 2014 Link to this post

    Hello,

    Since you are showing the RadGrid with the RadSliders via postback (most probably an AJAX request), I would suggest checking the following help article and trying the included approach: http://www.telerik.com/help/aspnet-ajax/slider-troubleshooting-broken-skin-when-loading-with-ajax.html.

    If you are still having difficulties, you can also get the client-side object of the slider and call its function repaint() when the grid is shown.

    Regards,
    Slav
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. kascheev
    kascheev avatar
    2 posts
    Member since:
    Jan 2014

    Posted 16 Jan 2014 Link to this post

    Hello Slav,

    Thank you. Yes, I'm using AJAX.

    I have already found "repaint" solution before posting this issue and it was used in my code. Without it the size of RadSlider was invalid. "Repaint" fixes RadSlider size but does not fix style issue (ticks and tick labels).

    Adding links to style fixed issue. I even did not have to add
    EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false"
    as it is specified in
    http://www.telerik.com/help/aspnet-ajax/slider-troubleshooting-broken-skin-when-loading-with-ajax.html

    However I was not able to make "<link ..>" working inside a user control. It works only on the page level.

    So, my question is: is there a way to add links to user control, I'd rather not have it on the page level if possible?

    Regards,
    Anton.
  5. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 20 Jan 2014 Link to this post

    Hi Anton,

    It is recommended to place the link tags in the head section of the page, so if you want to load the style sheets on the page at another location, I would suggest using the RadStyleSheetManager control as shown in the help article I linked. Have you tried this approach and how did it go?

    Regards,
    Slav
    Telerik
    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 the blog feed now.
Back to Top