Scrollbar in radioListbox

5 posts, 2 answers
  1. Meera
    Meera avatar
    12 posts
    Member since:
    Aug 2012

    Posted 28 Feb 2012 Link to this post

    I am using radlistbox, which i am binding to a data source and contains 430 elements.
    Now, radlistbox does not show any vertical/horizontal scrollbar and occupying whole page.
    Any suggestion how to display scrollbar is welcome.
    Thanks in advance

     

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Feb 2012 Link to this post

    Hello,

    Take a look into the following documentation.
    Scroll Items Horizontally

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 29 Feb 2012 Link to this post

    Hello,

    To show the vertical scrollbar, you just have to set the Height property of RadListBox. Here's an example:
    <telerik:RadListBox ID="RadListBox1" runat="server" Height="300">
    </telerik:RadListBox>

     
    Regards,
    Bozhidar
    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. Zafar
    Zafar avatar
    5 posts
    Member since:
    Feb 2012

    Posted 12 Mar 2012 Link to this post

    Dear Sir

    Is there a way to display only vertical scroll bar and hide horizontal scroll bar in radlistbox for asp.net. Please help.
  6. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 Mar 2012 Link to this post

    Hello,

    I suppose you want to set vertical scrollbar for asp:ListBox. If so try the following.
    ASPX:
    <asp:ListBox ID="ListBox1" runat="server" Width="200px" Height="100px">
      <asp:ListItem Text="ListItem1"></asp:ListItem>
      <asp:ListItem text="ListItem2"></asp:ListItem>
      <asp:ListItem text="ListItem3"></asp:ListItem>
      <asp:ListItem text="ListItem4"></asp:ListItem>
      <asp:ListItem text="ListItem5"></asp:ListItem>
      <asp:ListItem text="ListItem6"></asp:ListItem>
    </asp:ListBox>

    Thanks,
    Princy.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017