Enumerate HtmlGenericControls?

  • Thread starter Thread starter xenophon
  • Start date Start date
X

xenophon

I have a div area in my ASP.NET page template with this HTML in it:

<iframe id="ifmContent" name="ifmContent" src="about:blank"
frameborder="0"></iframe>

I beleive this iframe is an HtmlGenericControl, and in my C#
code-behind I am trying to enumerate all HtmlGenericControls in the
div tag, but nothign is working. Can anyone show a C# sample on what
I should do.
Thanks.
 
This isn't a server control (no runat="server") so you can't access it

if it was, you could access it directly via it's id

karl
 

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

Back
Top