@
@vi B@ns
Hi,
I am making a web control which includes multiple controls (composite
server control) - Labels, Textboxes and Buttons.
I am setting the properties of individual controls (Labels, Textboxes
& Buttons) inside my composite server control.
I am facing problem with the "Font" property (of the Labels, Textboxes
& Buttons).
I am not able to set multiple styles - Bold, Italic & Underline.
Either I am able to set the Bold or Italic or Underline property.
I am not able to set any 2 of them simultaneously...
If I set two styles then I get the following error:
Object reference not set to an instance of an object.
Please help me with this.
Thanks & Regards,
Bans
I am making a web control which includes multiple controls (composite
server control) - Labels, Textboxes and Buttons.
I am setting the properties of individual controls (Labels, Textboxes
& Buttons) inside my composite server control.
I am facing problem with the "Font" property (of the Labels, Textboxes
& Buttons).
I am not able to set multiple styles - Bold, Italic & Underline.
Either I am able to set the Bold or Italic or Underline property.
I am not able to set any 2 of them simultaneously...
If I set two styles then I get the following error:
Object reference not set to an instance of an object.
Please help me with this.
Thanks & Regards,
Bans