runat=server on HTC defined tag.

G

Giscard

Is there a way to access an HTC defined tag as an HTMLControl.

I want to set an attribute on the tag from the server.

<myNamespace:myTagName runat="server"> will throws an error.

so my only option to populate that attribute is to do a lame

<myNamespace:myTagName <%=methodThatPopulatesAttribute();%>>

Anyone know a way around this? Please keep in mind that I do not have
a runat="server" on my form tag and I do not want one.

Thanks in advance.
 

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,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top