Textchanged不起作用 [英] Textchanged not working for

查看:82
本文介绍了Textchanged不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是我的Textchange代码,但是当我更改文本时没有任何反应



Below is my code for Textchange but when i change my text nothing happens

Private Sub DESIG_NAME_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DESIG_NAME.TextChanged
        JOB_PROFILE.Text = ""
End Sub







 <td nowrap=""><asp:textbox id=DESIG_NAME runat="server" CssClass="TextBox_BorderWROla"  MaxLength="30" size="40" ReadOnly="True"> <INPUT class=CB_Pop onmousemove='return displayhand_onmousemove("DESIG_NAME_POP")'  id=DESIG_NAME_POP onclick="return DESIG_NAME_POP_onclick()"  type=button value=... name=DESIG_NAME_POP><font class="StarFnt">*</font></td>

AutopostBAck = "True"







任何人都可以帮助我。




Can anybody help me.

推荐答案

如果c,服务器将不会处理任何回发ontrol是 readonly [ ^ ]。
The server will not process any postbacks if the control is readonly[^].


您没有在文本框中提供事件的引用...



请按照以下代码



you didn't give the reference of event in the textbox...

follow the code below

<asp:textbox id="TextBox1" runat="server" ontextchanged="TextBox1_TextChanged" xmlns:asp="#unknown"></asp:textbox>







希望它能帮到你



谢谢

我的博客: http://aspnetgeeks.blogspot.com/ [ ^ ]


这篇关于Textchanged不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆