How do I obtain a reference to an object using the ID?

  • Thread starter Thread starter hellrazor
  • Start date Start date
H

hellrazor

In Javascript I can use document.getElementById("elementID") to access the
object.

Is there an equivalent in VB.NET / ASP.NET ?

Thanks in advance
 
Hello hellrazor,

You may be looking for Page.FindControl("controlID")...
 

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