Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Not able to load the WebDialogWindow in IE 7,8,0
posted

Hi ,

I am using an infragistics WebDialogWindow control.  I facing strange issues with respect to WebDialogWindow  control.  Its working  as expected on some machine while giving issue while loading on some client machines.

Following are  the errors which i am receiving.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; InfoPath.2; .NET4.0E)
Timestamp: Mon, 15 Sep 2014 07:02:15 UTC


Message: '$IG.ControlObjectProps.Count' is null or not an object

Message: Sys.ArgumentUndefinedException: Value cannot be undefined.Parameter name: baseType

Particularly on the line

$IG.LayoutPaneProps = new function()
{
var count = $IG.ControlObjectProps.Count;
this.ScrollLeft = [count++, 0];
this.ScrollTop = [count++, 0];
this.ScrollBars = [count++, 1];
this.Count = count;
};
/******************************************END LayoutPaneProps ENUM********************************/

/******************************************ContentPaneProps ENUM************************************/
$IG.ContentPaneProps = new function()
{
var count = $IG.LayoutPaneProps.Count;
this.ContentUrl = [count++, ''];
this.Count = count;
};


Followig is the code block which i am using.

<asp:UpdatePanel ID="WebDialogsUpdatePanel" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional">
<ContentTemplate>
<ig:WebDialogWindow runat="server" ID="SessionExplorerWebDialogWindow"
Height="600px" Width="600px" Modal="true" WindowState="Hidden" CssClass="SessionExplorerWebDialogWindow"
Moveable="true" Resizer-Enabled="true" Top="200px" Left="220px" InitialLocation="Centered">
<Header CloseBox-Visible="false" CaptionText="Session Explorer" Font-Size="12pt">
<CloseBox Visible="true"></CloseBox>
</Header>
<ContentPane>
<Template>
<br />
<uc2:SessionExplorer ID="CustodySessionExplorer" runat="server" />
<br />
<div class="DocumentGenerationButtonAlign">
<asp:UpdateProgress ID="UpdateProgress5" runat="server" AssociatedUpdatePanelID="WebDialogsUpdatePanel" DynamicLayout="false" >
<ProgressTemplate>
<div id ="ProgressDisplay1" style="display:inline">
<asp:Image ImageAlign="Middle" ID="Imageloader" runat="server" ImageUrl="~/Images/Whiteboard/ajax-loaderW.gif" />
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</div>
<div class = "WebDialogCloseButtonPosition">
<asp:Button ID="SessionExplorerCloseButton" runat="server" Text="Close" onclick="SessionExplorerCloseDialogButton_Click"
CausesValidation="false"/>&nbsp;&nbsp;</div>
</Template>
</ContentPane>
</ig:WebDialogWindow>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="SessionExplorerImageButton" EventName="click" />
</Triggers>
</asp:UpdatePanel>