Hello all,
Code:
<form action="">
<table cellspacing="0">
<tr>
<th scope="row">
my own address
</th>
<td>
<input type="checkbox" name="identity" value="me" id="me" /></label>
</td>
</tr>
<tr>
<th scope="row">
friends
</th>
<td>
<input class="valinp" type="radio" name="friends" value="contact" id="friends-contact" />
<input class="valinp" type="radio" name="friends" value="acquaintance" id="friends-acquaintance" />
<input class="valinp" type="radio" name="friends" value="friend" id="friends-friend" />
<input class="valinp" type="radio" name="friends" value="" id="friends-none" />
</td>
</tr>
<tr>
<th scope="row">
physical
</th>
<td>
<label for="seen"><input class="valinp" type="checkbox" name="physical" value="seen" id="seen" /> seen</label>
</td>
</tr>
</table>
<p>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"></Button>
</p>
</form>
<div id="Result">
rel=""
</div>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
I am collecting selected values in the TextBox1 separated by space and storing that textbox's value in database. Now on page load I want to pre select these form controls based on that value which was stored in database.
Many thanks...