5 Answers, 1 is accepted
0

Princy
Top achievements
Rank 2
answered on 16 Sep 2010, 12:25 PM
Hello Brian,
You can add the following css in your page to allign all listbox items in Horizontal ditection.
CSS:
Thanks
Princy.
You can add the following css in your page to allign all listbox items in Horizontal ditection.
CSS:
<style type=
"text/css"
>
.rlbItem
{
float
:
left
!important
;
}
.rlbGroup, .RadListBox
{
width
:
auto
!important
;
}
</style>
Thanks
Princy.
0

brian
Top achievements
Rank 1
answered on 16 Sep 2010, 03:18 PM
Thanks for your response. We tried but doesn't work. Could you provide a sample?
Thanks again.
Thanks again.
0

Princy
Top achievements
Rank 2
answered on 17 Sep 2010, 08:34 AM
Hello Brian,
Here is the code that I tried.
Mark-up:
Style:
Here I found the forum link which discussed similar scenario: How to allign items in horizontal direction inside listbox
Could you provide the version of the control that you are trying, if this does not help?
Is it happening for any specific browser?
Thanks,
Princy.
Here is the code that I tried.
Mark-up:
<
telerik:RadListBox
Skin
=
"Outlook"
ID
=
"RadListBox1"
runat
=
"server"
>
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
<
Items
>
<
telerik:RadListBoxItem
runat
=
"server"
Text
=
"Item1"
/>
<
telerik:RadListBoxItem
runat
=
"server"
Text
=
"Item2"
/>
<
telerik:RadListBoxItem
runat
=
"server"
Text
=
"Item3"
/>
</
Items
>
</
telerik:RadListBox
>
Style:
<style type=
"text/css"
>
.rlbItem
{
float
:
left
!important
;
}
.rlbGroup, .RadListBox
{
width
:
auto
!important
;
}
</style>
Here I found the forum link which discussed similar scenario: How to allign items in horizontal direction inside listbox
Could you provide the version of the control that you are trying, if this does not help?
Is it happening for any specific browser?
Thanks,
Princy.
0

vivek
Top achievements
Rank 1
answered on 09 Nov 2010, 10:15 AM
Hi Princy,
I am populating data in RadListBox at runtime. Problem is the data into the RadListbox ia not left aligned. Could you please help me to align my data from the left. Currently it is center aligned. Is there any property to set. Please provide me sample.
Thanx in advance
Vivek
I am populating data in RadListBox at runtime. Problem is the data into the RadListbox ia not left aligned. Could you please help me to align my data from the left. Currently it is center aligned. Is there any property to set. Please provide me sample.
Thanx in advance
Vivek
0
Hello vivek,
It seems that some styles on your pages overwrite RadListBox's style. Please send us a live url where the issue can be observed.
Greetings,
Yana
the Telerik team
It seems that some styles on your pages overwrite RadListBox's style. Please send us a live url where the issue can be observed.
Greetings,
Yana
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