asp.net文本框焦点有效,但文本未键入 [英] asp.net textbox focus working but text not typing

查看:91
本文介绍了asp.net文本框焦点有效,但文本未键入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我在asp.net c#应用程序中遇到了文本框焦点事件.

焦点事件工作正常,并且在开始的2-3次中,它允许在文本框中键入文本,此后,焦点进入文本框,但不允许键入任何内容.

在这种情况下,我需要在文本框外单击,然后单击进入文本框后便可以键入.

文本框位于updatepanel中的面板内部,并且面板具有defaultbutton.
通过在文本框中输入值,我常按Enter键,然后对输入的数据进行验证并将其插入到临时表中,然后将焦点返回到文本框中.

请尽快提出解决方案!

Hi there,

I have a issue with textbox focus event in asp.net c# application.

focus event works fine and for first 2-3 times it allows to type text in textbox and after that, focus comes to textbox but it dont allow to type anything.

In this scenario, i need to click outside the textbox and then after clicking into text box it allows to type.

textbox is inside a panel within updatepanel and panel has defaultbutton.
by entering value into textbox i use to press enter button after which the data entered is being validated and inserted into temp table and after that focus come back to textbox.

Please suggest the solution aeap!

thanks in advance!

推荐答案

伙计,发生了什么事?

我认为您生气了,甚至没有粘贴代码?

没有机会,即使我没有时间比比
what happened dude ??

i think you became angry ,even not pasting your code?

nO probs, even i dont have time bbye


这篇关于asp.net文本框焦点有效,但文本未键入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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