Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear,

I have a textbox but the textchange event is not firing when the web application is hosted on IIS.

but when i am runing the application on visual studio it worksfine.

Please help me its urgent

Regards,
Mohinder Singh

Code
ASP.NET
<asp:TextBox ID="TextBox1" runat="server" Height="20px" Width="150px" autocomplete="off" ValidationGroup ="TxtBox1" AutoPostBack="True" Font-Bold="True" Font-Size="Small" >

This is on the form"
VB
Protected Sub TextBox1_TextChanged(sender As Object, e As System.EventArgs) Handles TextBox1.TextChanged
    Reset()
    TableDetail()
End Sub
Posted
v2
Comments
Please show your code.
mvengaqua 30-Jan-14 1:27am    
This is the html code:
<asp:TextBox ID="TextBox1" runat="server" Height="20px" Width="150px" autocomplete="off" ValidationGroup ="TxtBox1"
AutoPostBack="True" Font-Bold="True" Font-Size="Small" >


This is on the form"
Protected Sub TextBox1_TextChanged(sender As Object, e As System.EventArgs) Handles TextBox1.TextChanged
Reset()
TableDetail()
End Sub

1 solution

WHRER DID you add the event in HTML part. try add something like this

ASP.NET
<asp:textbox id="TextBox1" runat="server" height="20px" width="150px" autocomplete="off" validationgroup="TxtBox1" ontextchange="TextBox1_TextChanged" autopostback="True" font-bold="True" font-size="Small" xmlns:asp="#unknown">
</asp:textbox>
 
Share this answer
 
Comments
mvengaqua 1-Feb-14 0:58am    
already tried this......it was not working....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900