如何通过CalendarExtender在asp.net ModalPopupExtender之前精准显示日期选择?
- 内容介绍
- 文章标签
- 相关推荐
本文共计101个文字,预计阅读时间需要1分钟。
如何创建CalendarExtender,扩展位于ModalPopupExtender内的TextBox,以显示在ModalPopupExtender前面?
将以下JavaScript代码添加到您的页面中:
javascriptfunction calendarShown(sender, args) { sender._popupBehavior._element.style.zIndex=1000;}
如何制作CalendarExtender,扩展位于ModalPopupExtender内的TextBox,以显示在ModalPopupExtender前面? 将这一点 javascript添加到您的页面:function calendarShown(sender, args) { sender._popupBehavior._element.style.zIndex = 10005; }
然后在日历扩展程序的属性中添加:
OnClientShown="calendarShown"
本文共计101个文字,预计阅读时间需要1分钟。
如何创建CalendarExtender,扩展位于ModalPopupExtender内的TextBox,以显示在ModalPopupExtender前面?
将以下JavaScript代码添加到您的页面中:
javascriptfunction calendarShown(sender, args) { sender._popupBehavior._element.style.zIndex=1000;}
如何制作CalendarExtender,扩展位于ModalPopupExtender内的TextBox,以显示在ModalPopupExtender前面? 将这一点 javascript添加到您的页面:function calendarShown(sender, args) { sender._popupBehavior._element.style.zIndex = 10005; }
然后在日历扩展程序的属性中添加:
OnClientShown="calendarShown"

