本文介绍了textchange事件未在iis 7.0上触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
我有一个文本框但是当IIS上托管Web应用程序时,textchange事件没有触发。
但是当我在visual studio上运行应用程序时,它工作正常。
请帮我紧急
问候,
Mohinder Singh
代码
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: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
推荐答案
<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>
这篇关于textchange事件未在iis 7.0上触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!