RadSlider in RadContextMenu?

3 posts, 1 answers
  1. Bobby
    Bobby avatar
    2 posts
    Member since:
    May 2008

    Posted 30 May 2008 Link to this post

    Is it possible to place a radslider inside a radcontextmenu control. I tried to place the radslider in the ItemTemplate of a RadMenuItem but the slider does not function correctly. It shows but when I try to use the slider, nothing happens. Any ideas?

    Thanks
  2. Answer
    Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 02 Jun 2008 Link to this post

    Hi Bobby,

    The problem comes, because RadSlider is located in an invisible element (the context menu item) during its initialization. The solution is to call the redraw() method of the RadSlider client-side object when it is made visible (i.e. when the context menu is shown). Please, find attached a small page, demonstrating this approach.

    I hope this helps.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bobby
    Bobby avatar
    2 posts
    Member since:
    May 2008

    Posted 02 Jun 2008 Link to this post

    Thank you. That did it.
Back to Top