Last post Mar 29, 2012 09:32 PM by robwscott
Mar 29, 2012 07:53 PM|Wesolek|LINK
using C# in VS2010 .NET 4 Web Application; Seems simple, but can someone please:
1) Share an example of how to rotate labels in a webform, so they display text vertically(tall).
2) The label has to display text from an sqlDataSource (bound to display a field).
Mar 29, 2012 08:38 PM|Inayat Rasool|LINK
You can read this MSDN article: How to: Rotate Text
Mar 29, 2012 08:53 PM|Wesolek|LINK
Thank you for the reply. It does rotate when adding style=”writing-mode:tb-rl”.
Do you also have reference to adjust the alignment? Currently defaults to text reading down from top of label.
Mar 29, 2012 09:08 PM|Inayat Rasool|LINK
I am not sure about that may be this link helps
Mar 29, 2012 09:32 PM|robwscott|LINK
can you not just rotate the div???
<asp:Label id="Label1" runat="server" />