Click here to Skip to main content
15,901,283 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hiiii:confused:,

how set position of label control in vs2008....
m new to vs2008..it was very easy in 2005....


plz help nw m frusted ..
Posted

Use styles, this will require you to add a style attribute to the label.

e.g. label.Attributes.add("style","position:absolute;left:10px;top:20px;");


Or you could define a style in a stylesheet and assign this to the label through the CssClass property.
 
Share this answer
 
Quick Answer: Use Stylesheets
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900