In Asp.net 3.5 I can't align text right for item in WebListbar V.10 , it is set to left , and I changed to right but it is no change in design time and run time ..Please, what is solve of this problem ?
Hello Sameh,
Do you use
TextAlign
="Right"
or
="Left"
?
Also what do you mean by "it is no change"?
Let me know if you need more assistance.
Thank you for the fast response.
The TextAlign property is regarding the Group. The Item property should be Align="Right"
<iglbar:Group Text="Group1" TextAlign="Left" >
<Labels Expanded="" Collapsed="" Selected="">
</Labels>
<Items >
<iglbar:Item Text="Item3" Align="right">
<Labels Selected="" />
</iglbar:Item>
<iglbar:Item Text="Item4" Align="Right">
</Items>
</iglbar:Group>
Below is the picture showing the view after setting this property values
I am just checking about the progress of this issue.
Let me know if you need any further assistance.
Please keep in mind that the changes you do in the ig_listbar.css will affect all controls in the application
which use the same StyleSet (for example Default).
Let me know if you need further assistance regarding this.
Thanks for solve ,,I am changed all Text_Align left to right in (ig_listbar.css) .
I do not see anything unusual in the code .
When I added this snippet to my UltraWebListbar it displayed as expected.
I do not know why your styling keeps the default one in the ig_listbar.css
text-align:left;
This file is in the below directory:
ig_res\Default\ig_listbar.css
Can you please provide a simple sample which I can run and reproduce the issue with ?
Please see my code :
<iglbar:Group Text="MyGroup" TextAlign="right"> <Labels Collapsed="" Expanded="" Selected="" /> <Items> <iglbar:Item Align="Right" Text="Item1" Key="AddTicket"> <Labels Selected="" /> </iglbar:Item> <iglbar:Item Align="right" Key="ViewAllTicket" Text="Item2" > <Labels Selected="" /> </iglbar:Item> <iglbar:Item Align="right" Text="Item3" Key="ViewTicket"> <Labels Selected="" /> </iglbar:Item> </Items></iglbar:Group>
But it's not change align in design time or run time ...