Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Native HTML from Code Behind 2

Status
Not open for further replies.

benvegiard

Programmer
May 15, 2003
63
US
Is it possible to access native HTML elements from code-behind? I simply need to check values of a control during postback.

Thanks,
Ben
 
You can add a runt=server tag to the HTML elements to make them available (you'll also need to add a Public WithEvents declaration for them if you are using code-behind).


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Well, nuts. I had tried that and it didn't work, hence my confusion. However, since you confirmed it, I wrote up another test case and it worked. I must have typo'd myself on the first test.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top