how to define text of legend in code-behind?

B

Ben

Hi,

i want to define the text of the legend of a fieldset programmatically.
I tried this but it couldn't find a way:

<body>
<form id="form1" runat="server">
<fieldset id="fs" runat="server">
<legend id="lg" runat="server"></legend>
</fieldset>
</form>
</body>

-----------------

Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Dim a As ???
......
End Sub

Thanks
Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,701
Latest member
XavierQ83

Latest Threads

Top