Home > Ajax, Asp.net > Solving Calendar Extender Problem in Modal Popup Extender Asp.net

Solving Calendar Extender Problem in Modal Popup Extender Asp.net


Calendar Extender control when placed inside modal popup extender will not be seen in front. To solve this issue, we have the following solution


<cc1:CalendarExtender ID="CalendarExtender1" TargetControlID="Textbox1"
 PopupPosition="Right" runat="server" <strong>OnClientShown="CalendarShown"></strong> </cc1:CalendarExtender>
<pre>
function calendarShown(sender, args)
    {
        sender._popupBehavior._element.style.zIndex = 10005;
    }
About these ads
  1. rajani
    January 8, 2012 at 8:09 pm

    Thank you for the solution. Saved me tons of time..

    -Rajani.

  2. Rajeev
    February 23, 2013 at 7:38 am

    thank s

  3. Marco
    April 18, 2013 at 9:59 pm

    This solution works in Firefox and Chrome but in IE10 I have tha same problem. How may I do?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: