Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C# Programming

Changing the font for a label programmatically


I've got an ASP VS 2005 project. I'm trying to figure out how to programmatically change the font of a label. From memory, this was done easily in 2003, but the Font property is read-only.

Can someone please show me how to change the font programmatically?

Thanks

It appears to be through the .Name. By changing the .Name property...you change the font.
  "Randy" <t@temp.com> wrote in message news:%23d0MMeGqHHA.4632@TK2MSFTNGP04.phx.gbl...
  I've got an ASP VS 2005 project. I'm trying to figure out how to programmatically change the font of a label. From memory, this was done easily in 2003, but the Font property is read-only.

  Can someone please show me how to change the font programmatically?

  Thanks

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc