本文介绍了如何强制框TextChanged工作的onblur?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其实我想做的事情在GridView按行我已经做到了跳格。
问题是,我已经通过现在使用的onTextChange事件做每当我甲肝做跨栏
我必须为文本,然后输入标签,那么只有它的作品,我的要求是,标签应做到不输入文字也
所以,因为我拥有所有code我要有力地做到这一点onBlur事件。 ??

actually i want to do tabbing in a Gridview rowwise i have done it.Problem is that i have done by using onTextChange event now whenever i hav to do tabbing i have to text and then enter the tab,then only it works and my requirement is that tab should be done for without entering the text alsoSo as i'm having all the code i want to forcefully do this onBlur event. ??

推荐答案

您也许可以写一点点的JavaScript(使用jQuery),这样,当onblur事件发生时,该txtChanged事件被称为在客户端。类似

You could probably write just a little javascript(using jQuery) so that when the onblur event occurs that the txtChanged event is called on the client side. Something like

$('#IdHere').blur(function() {
  $('#IdHere').change();
});

这篇关于如何强制框TextChanged工作的onblur?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 12:09