阿贾克斯回发重置选项卡索引-1 [英] Ajax postback resets tab index -1

查看:98
本文介绍了阿贾克斯回发重置选项卡索引-1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从模式弹出扩展回传后所有的控制选项卡索引设置为-1,我不能够找到这个任何解决方案,并有超过100控制在我的网页。

After postback from Modal Popup Extender all controls tab index set to -1, i am not able to find any solution for this, And there are more than 100 controls in my page.

我怎样才能让我的所有控件的Tab键索引中的ASP.NET页面。

How i can keep the Tab Index of all my controls in ASP.NET page.

推荐答案

检查您的通话.Show()的模式弹出扩展。当你调用.Show()它存储所有TabIndexes你的控制变量。它这样做,因此它可以prevent从同时显示在MPE在Tab键顺序被你控制。如果调用.Show(),而MPE已经显示(和已经修改了TabIndexes),它将存储-1的超过previous价值观之上,并把它们放回去时,MPE是隐藏的,认为它是做正确的事情。

Check your calls to .Show() for the modal popup extender. When you call .Show() it stores all the TabIndexes for your controls to a variable. It does this so it can prevent your controls from being in the tab order while the MPE is shown. If you call .Show() while the MPE is already shown (and has already modified the TabIndexes) it will store the -1's over top of the previous values and put them back when the MPE is hidden, thinking it is doing the right thing.

这篇关于阿贾克斯回发重置选项卡索引-1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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