How to call Javascript function from server side asp.net 123123123123
<p>I have a <code>Textbox</code> in <code>GridView</code> I want to change the Label.Text if the text in Textbox is changed. But I am not able call javascript function written in .cs page. Is there any mistake in <code>TbUnitCost_TextChanged</code> method.</p><p>This is my aspx page</p><pre><br /><code><ItemTemplate><br /> <asp:TextBox Style="text-align: right" ID="TbUnitCost" runat="server" Width="80px" Text='<%#Bind("Unit_Cost")%>' AutoPostBack="true" OnTextChanged="TbUnitCost_TextChanged" TextMode="Number"></asp:TextBox><br /> </ItemTemplate><br /></code><br /></pre><p>Code behind Page is as follows</p><pre><br /><code> protected void TbUnitCost_TextChanged (object sender, EventArgs e)<br /> {<br /> Gr...