F
Fao, Sean
I'm trying to set the title attribute on a CheckBox and I'm having some
issues in ASP.NET 1.1.
The title attribute in the following example is valid in HTML 4.01
Transitional:
<input id="MyCheckBox" type="checkbox" title="ToolTip">
However, ASP.NET doesn't like it. No matter what I do, ASP.NET places
my control inside of a span tag with the title attribute set in the
span, instead:
<span title="ToolTip"><input id="MyCheckBox" type="checkbox"></span>
I've tried Setting the title in HTML, setting the ToolTip property of
the CheckBox, as well as attempting to use the
MyCheckBox.Attributes.Add("title", "ToolTip") method.
All of them have resulted in the same HTML output.
What's going on?
Thank you in advance,
issues in ASP.NET 1.1.
The title attribute in the following example is valid in HTML 4.01
Transitional:
<input id="MyCheckBox" type="checkbox" title="ToolTip">
However, ASP.NET doesn't like it. No matter what I do, ASP.NET places
my control inside of a span tag with the title attribute set in the
span, instead:
<span title="ToolTip"><input id="MyCheckBox" type="checkbox"></span>
I've tried Setting the title in HTML, setting the ToolTip property of
the CheckBox, as well as attempting to use the
MyCheckBox.Attributes.Add("title", "ToolTip") method.
All of them have resulted in the same HTML output.
What's going on?
Thank you in advance,