[英]set focus to user control, and blur base page
I have a progress bar (which is a user control). 我有一个进度条(这是一个用户控件)。 When user, click a button, this progressbar will get displayed.
当用户单击按钮时,将显示此进度栏。 The issue is ...even if the progressbar is visible, I am able to set focus to other controls in base page.
问题是...即使进度条可见,我也可以将焦点设置到基本页面中的其他控件上。 I need to blur the base page...and set focus to user control.
我需要模糊基础页面...并将焦点设置为用户控制。
Plz help me ...Thanks in advance...! 请帮助我...预先感谢...!
最新版本的ASP.Net AJAX工具包具有一个ModalPopup ,可以为您处理此行为-只需将Modal Popup Extender的PopupControlID
设置为PopupControlID
的ID,并将TargetControlId
设置为将触发弹出窗口的按钮即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.