T
Tina
The following works great....
TextBox10.Style.Add(HtmlTextWriterStyle.TextAlign, "center");
Now I know that HtmlTextWriterStyle is an enumerations and that TextAlign is
int 36.
I am in a situation where I am getting passed the values of the enumeration
but if I say TextBox10.Style.Add(String1, String2) and String1 Contains 36
or "HtmlTextWriterStyle.36" or "TextAlign" the proper html does not get
rendered. The rendered html has exactly what string1 has.
What has to be in the value of string1 to get the html rendered correctly?
Thanks,
T
TextBox10.Style.Add(HtmlTextWriterStyle.TextAlign, "center");
Now I know that HtmlTextWriterStyle is an enumerations and that TextAlign is
int 36.
I am in a situation where I am getting passed the values of the enumeration
but if I say TextBox10.Style.Add(String1, String2) and String1 Contains 36
or "HtmlTextWriterStyle.36" or "TextAlign" the proper html does not get
rendered. The rendered html has exactly what string1 has.
What has to be in the value of string1 to get the html rendered correctly?
Thanks,
T