How to do binding in Knockoutjs for asp.net controls? I have tried below code but not working.
<td data-bind="text: stringValue"></td>
<asp:TextBox ID="TextBox1" runat="server" data-bind="text: stringValue"></asp:TextBox>
You should bind with value
instead of text
.
<asp:TextBox ID="TextBox1" runat="server" data-bind="value: stringValue"></asp:TextBox>