HTML Control & Code Behind Module!
I am using a hidden input type in my web form. But when I try to access
that variable in code behind module, it seems the module doesnt know about
the variable at all.
The code is like this
<input type="hidden" id="username">
I am setting a value here on "Onclick" event of a HTML button and then submitting
it to the server.
Label1.Text = username.Text
This gives an error. Is it wrong to access HTML control in code behind module???
Could any one please help me!!!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL