Sunday, March 11, 2012

CalendarExtender is under Web Grid control of Infragistis

i also meet this situation, i have no much idea but i play around with css then i remove css then i make the action on Infragistis gridview by setting the size as auto then it works. I not sure this way help bc it is weird to me also.

Tks


Hi Duynnh,

Based on my experience, this kind of issue is usually caused by the z-Index issue. So you can use Javascript to change its z-index. Here is a sample you can refer to.

<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<ajaxToolkit:CalendarExtender ID="CalendarExtender1" BehaviorID="myCEBID" runat="server" TargetControlID="TextBox1"
Format="yyyy-MM-dd" PopupButtonID="Button1"></ajaxToolkit:CalendarExtender>
<asp:Button ID="Button1" runat="server" Text="Calendar" />
<script type="text/javascript" language="javascript">
function pageLoad(){
$find("myCEBID").add_shown(onCEShown);
}
function onCEShown(){
$find("myCEBID")._popupDiv.style.zIndex = 100000;
}

</script>
</form>

I hope this help.

Best regards,

Jonathan

No comments:

Post a Comment