I am working on a website developed using the twitter bootstrap and asp.net.
I would like to know how to access a html control from the code behind page.
For example,
<div class="control-group">
<label class="control-label" for="name">
Your Name</label>
<div class="controls">
<input type="text" class="input-xlarge" name="ApplicantName" id="AppName" placeholder="First Name and Last Name" >
</div>
</div>
How do I get or set the value of the ApplicantName textbox?
Add a
runatattribute to the control and set the value asserverand it will be accessible in codebehind.Now in codebehind, you can access it.