0

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.

Mathew Paul
  • 647
  • 3
  • 16
  • 36

2 Answers2

0

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.

santosh singh
  • 27,666
  • 26
  • 83
  • 129
0
//use java script
function calendarShown(sender, args)
{
    sender._popupBehavior._element.style.zIndex = 10005;
}
Tim Stone
  • 19,119
  • 6
  • 56
  • 66