Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 setting button font

Author  Topic 

maya_zakry
Constraint Violating Yak Guru

379 Posts

Posted - 2007-05-30 : 01:59:47
hi all..

how do i set my button text size in .vb ?? this doesnt work :-

btnEdit.Font.Size.Smaller

i want to set it to XX-Small..


~~~Focus on problem, not solution ¯\(º_o)/¯ ~~~

maya_zakry
Constraint Violating Yak Guru

379 Posts

Posted - 2007-06-04 : 21:11:37
from asp.net forum.. and it's work:-

btnEdit.Attributes.Add("CssClass", "CmdButton")
btnEdit.Style.Add("Font-Size", "XX-Small")

~~~Focus on problem, not solution ¯\(º_o)/¯ ~~~
Go to Top of Page
   

- Advertisement -