Click to See Complete Forum and Search --> : HTML Field set


anupam kant
January 16th, 2003, 06:46 AM
I have following server control for html fieldset.

<pre>
&lt;fieldset id=fldSET1 runat=server&gt;
&lt;/fieldset&gt;
</pre>

and i want to get/set its legend in codebehind thru something like

dim fldSET1 as HTMLGenericControl
fldSET1.Legend="Inquiry"

'-or-
fldSET1.Attribute("Legend")="Inquiry"



or something likewise.

Is there any way to :
1. set an attribute of FieldSet (some thing like text, value legend or title etc...) that is responsible for showing legend. (I do not want to use two server control)
2. custom control could solve my problem, any idea for this type of container control?


thanks in advance...