Slider control not visible in fancybox

2 posts, 0 answers
  1. Reetesh
    Reetesh avatar
    18 posts
    Member since:
    Aug 2007

    Posted 30 Aug 2010 Link to this post


    we have Created a page in which we are using fancybox and in fancybox we are showing slider control.

    but this slider control is not visible on fancybox.

    but when I use it as in normal page it is visible. Can you please give me some detail why slider control in showing in fancybox.

    also I want to do operation with slider control like..when I change values in slider control I need to update it on database without any postback.

  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 03 Sep 2010 Link to this post

    Hi Reetesh,
    I am not quite sure which version of the Telerik.Web.UI assembly you use, but in case you are using the latest version (Q2 2010 SP1), the slider should be visible in all supported browsers but Safari and Chrome.

    Basically, the problem is a result of the fact that fancybox uses "display:none" style setting to hide the box. As a result, the slider is initialized in an invisible parent and it cannot calculate the size of its elements correctly. In order to fix this, you should call the repaint/redraw method of the slider as soon as the fancybox shows.

    Regarding your second question - you can either ajaxify the slider control or use its client-side events to call a WebService method that updates your database.

    Sincerely yours,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top