Is it possible to change the value of a HTML control in the code behind (server side)?
So the value attribute has to be changed in the code behind, for example when an asp:button is clicked.
HTML control textbox:
<INPUT id="myTextbox" type="text" value="test">
If you try it and look at the view source you will see the actual HTML. Looking at the HTML in the designer does not show the actual HTML that is sent to the client so I suggest you read up on the fundementals of ASP.NET as understanding the differences between the server and the client is vital if you are going to be able to understand ASP.NET.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.