collecting html control IDs on a form

D

David

Sorry about the previous question.

The thing I am really trying to do is collecting HTML id's on a given form.
As you may know, ASP.NET control ids do not necessarily match html control
names when the HTML page is output.

For example, if a textbox is contained in a user control, the user control's
ID is appended. For example, the user control is named "MyUserControl" and
the textbox's ID "txtTextBox". The name in the html output is
"MyUserControl:txtTextBox".

So is there a way to collect all those html Id's on a webform?
 

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,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top