简体   繁体   English

模式弹出日历控件问题

[英]Modal pop up calendar control issue

I am using a Calendar extender in a modalpopup when i click the image button the calendar extender should be displayed and when i click a particular date that date should be displayed in the textbox its working but what my problem is when i click the image button for the first time the calendar extender is displayed in the back side of the modal pop hence i am unable to select a particular date. 当我单击图像按钮时,应该在日历弹出窗口中使用日历扩展器;当单击特定日期时,应该在文本框中显示该日期,当我单击图像按钮时,我的问题是什么?日历扩展程序第一次显示在模式弹出窗口的背面,因此我无法选择特定日期。 but when i click the same image button for the second time the calendar extender will be displayed correctly. 但是,当我第二次单击同一图像按钮时,日历扩展器将正确显示。

Add following code in head section of the page 在页面的头部添加以下代码

<style type="text/css"> 
   .ajax__calendar_container { z-index : 1000; } 

</style> 

Note:Please change the value of z-index accordingly. 注意:请相应地更改z-index的值。

//use java script
function calendarShown(sender, args)
{
    sender._popupBehavior._element.style.zIndex = 10005;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM