Retrieve web form name or id?

  • Thread starter Thread starter Edward Lim
  • Start date Start date
E

Edward Lim

Hi guys,

is it possible to retrieve the name or the id of a form in an ASP.Net page?
In the code behind inside the page class, I would like to be able to
reference to that "form object" and to retrieve its name or id. is that at
all possible?

Cheers
 
Edward,

me.name (VBNet)
this.name (C#)

I hope this helps?

Cor
 
Hi JD,

I can't seem to find the methods "UniqueId" or "Name" in the form class, and
I presume you actually meant

Request.Form.UniqueId and Request.Form.Name right?

Unless we are talking different version of Dot Net Framework. I am using 1.1
only.

Thanks and Regards,
Edward
 

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