[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Raghu Raman

11/22/2006 5:27:00 PM

Hi

i created a sample web custom control in asp.net but when i tried to set
the font properties for the text box , it is not applied ,
pls help me what i missed .

code:

output.Write(HtmlTextWriter.DefaultTabString + "<td>");
output.WriteAttribute("name",this.UniqueID);
output.WriteAttribute("style","BORDER-RIGHT: 1px solid;

BORDER-TOP: 1px solid;FONT-WEIGHT:Bold ;FONT-FACE:Symbol ; BORDER-LEFT:
1px solid; WIDTH: " + base.BorderWidth +"; BORDER-BOTTOM: 1px solid;
HEIGHT: 20px ; size=17");

output.WriteAttribute("type","text");
output.WriteAttribute("value",txtext);
output.WriteLineNoTabs(HtmlTextWriter.SelfClosingTagEnd);
output.Write(HtmlTextWriter.DefaultTabString + "</td>");


THANKS
RAGHU


Six faces rule the world

*** Sent via Developersdex http://www.develop... ***