![](/img/trans.png)
[英]Textchange Event not firing in update panel with ToolkitScriptManager using asp.net
[英]how handle textchange event in asp.net
请帮助我如何处理 asp.net 中的TextChange事件。 早先respose 高度赞赏。
string str = this.txtLog.Text.ToString();
int startPos = str.LastIndexOf("UID:") + "UID:".Length + 1;
int length = str.IndexOf("Sector") - startPos;
string sub = str.Substring(startPos, length);
readerUID = sub;
this.txtLog.TextChanged += txtLogTextChanged;
protected void txtLogTextChanged(object sender, EventArgs e)
{
//do whatever you want on text changed
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.