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
4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 28 Feb 2012, 12:17 PM
0
Accepted
Hello,
To show the vertical scrollbar, you just have to set the Height property of RadListBox. Here's an example:
Regards,
Bozhidar
the Telerik team
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.
0
Zafar
Top achievements
Rank 1
answered on 12 Mar 2012, 08:29 AM
Dear Sir
Is there a way to display only vertical scroll bar and hide horizontal scroll bar in radlistbox for asp.net. Please help.
Is there a way to display only vertical scroll bar and hide horizontal scroll bar in radlistbox for asp.net. Please help.
0
Accepted
Princy
Top achievements
Rank 2
answered on 12 Mar 2012, 09:47 AM
Hello,
I suppose you want to set vertical scrollbar for asp:ListBox. If so try the following.
ASPX:
Thanks,
Princy.
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.