You can rotate a label to any degree you wish by using Transitions.
It only works in IE.
Put this label on your page:
<asp:Label id="Label1" STYLE="position :absolute;
filter:progid:D XImageTransform .Microsoft.Matr ix(sizingMethod ='auto
expand')"
runat="server" onClick="fnSetR otation(this,90 )">Label</asp:Label>
And put this Javascript in your page:
<SCRIPT><!-- fnSetRotation function -->
//oObj input requires that a matrix filter be applied.
//deg input defines the requested angle of rotation.
var deg2radians = Math.PI * 2 / 360;
function fnSetRotation(o Obj, deg)
{ rad = deg * deg2radians ;
costheta = Math.cos(rad);
sintheta = Math.sin(rad);
oObj.filters.it em(0).M11 = costheta;
oObj.filters.it em(0).M12 = -sintheta;
oObj.filters.it em(0).M21 = sintheta;
oObj.filters.it em(0).M22 = costheta;
}
</SCRIPT>
Run it and click on the label to watch it change to vertical.
Here's more info:
http://msdn.microsoft.com/library/de...ies/filter.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Hekim MUKUS" <mh*****@hotmai l.com> wrote in message
news:OQ******** ********@TK2MSF TNGP10.phx.gbl. ..
Hi,
i need vertical label.
C# or VB
thanks