Slider not recognizing colspan

2 posts, 0 answers
  1. carol
    carol avatar
    2 posts
    Member since:
    Sep 2012

    Posted 06 Sep 2011 Link to this post

    We have a slider with a colspan specification.  If we make the width="100%", it only makes it as wide as the first column.  If we do a width="400px", we run into problems with column widths as we don't know how wide the four columns will be. 

    I expect the "100%" to make it as wide as the four columns.  How can we make it 100% or is a code fix needed as to me, it appears to be a bug in the control.  Here is the code snippet:

            <td colspan="4">
                <telerik:RadSlider ID="RunAssetRS" runat="server"  width="100%" OnClientValueChanged="RunAssetRS_OnValueChanged" OnClientLoad="RunAssetRS_OnValueChanged" ShowDecreaseHandle="false" ShowIncreaseHandle="false" ></telerik:RadSlider>

  2. Bozhidar
    Bozhidar avatar
    693 posts

    Posted 08 Sep 2011 Link to this post

    Hi Carol,

    RadSlider does not support percentages because this is not a control that defines layout (such as RadSplitter) and it is not expected the controls to support that feature. Also if you look at Slider demos you will not find one with width set with percentages. You should use pixels to define control width and / or renosider using tables for your layout.

    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top