WebPanel Error "cannot open internet site"

5 replies. Last post: April 7, 2011 5:12 AM by Martin Lie
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I am getting an error that Internet Explorer cannot open the Internet site for the page when using a web panel.  It only happens some of the time.  Sometimes the page comes up with no errors.  Here is a snippet of code that we are using to load the page.  I am also attaching a screenshot of the error.

<ISWebDesktop:WebPaneManager ID="WebPaneManager1" runat="server" Height="92%" Width="100%">

<FrameStyle BorderStyle="Solid" ForeColor="White" BorderWidth="1px" BorderColor="#404040"

BackColor="#E0E0E0">

<Padding Top="4px" Left="4px" Bottom="4px" Right="4px"></Padding>

</FrameStyle>

<PaneSettings HeaderVisible="No">

<HeaderSubStyle BorderStyle="Solid" BackColor2="White" BorderWidth="1px" BorderColor="Gray"

Font-Size="8pt" Font-Names="Tahoma" BackColor="#E0E0E0" GradientType="Vertical">

<Padding Top="4px" Left="4px" Bottom="4px" Right="4px"></Padding>

</HeaderSubStyle>

<InfoTextStyle ForeColor="White" Font-Size="8pt" Font-Names="Tahoma">

</InfoTextStyle>

<ContainerStyle BorderStyle="Solid" ForeColor="Black" BorderWidth="1px" BorderColor="Gray"

Font-Size="8pt" Font-Names="Tahoma" BackColor="White" Overflow="Auto" OverflowX="Auto"

OverflowY="Auto">

<Padding Top="4px" Left="4px" Bottom="4px" Right="4px"></Padding>

</ContainerStyle>

<HeaderMainStyle BorderStyle="Solid" ForeColor="White" BackColor2="LightGray" BorderWidth="1px"

BorderColor="Gray" Font-Size="11pt" Font-Names="Arial" Font-Bold="True" BackColor="DimGray"

GradientType="Vertical">

<Padding Top="4px" Bottom="4px" Right="1px" Left="1px"></Padding>

</HeaderMainStyle>

</PaneSettings>

<RootGroupPane GroupType="VerticalTile" Image="/CommonLibrary/Images/WebDesktop/"

Name="RootGroup">

<Panes>

<ISWebDesktop:WebGroupPane GroupType="VerticalTile" Name="GroupPane0" Text="GroupPane 0">

<Panes>

<ISWebDesktop:WebPane Name="Pane0" Text="Pane 0" Width="Custom" WidthValue="10%" AllowCollapse="Yes">

<ContentTemplate>

<ISWebDesktop:WebNavPane ID="WebNavPane1" runat="server" Height="100%" Width="100%"

BarVisible="3" OnBarItemClick="NavPane_BarItemClick" OnBarClick="OnActiveBarChanged"

Name="paneTopic" >

<BarItemSettings DisplayMode="Text" TargetWindow="paneContent">

<ItemStyle>

<Active CssClass="clsOverActiveHyperlink">

</Active>

<Over Font-Bold="true">

</Over>

<Normal CssClass="clsOverTopicHyperlink" Overflow="Hidden" Cursor="Hand">

</Normal>

</ItemStyle>

<ItemsContainerStyle Width="100%" Font-Size="8.25pt" Font-Names="Tahoma" Height="100%"

Overflow="Auto" OverflowY="Auto">

<Padding Top="4px" Left="4px" Bottom="4px"></Padding>

</ItemsContainerStyle>

</BarItemSettings>

<BarSettings >

<CaptionStyle ForeColor="White" BackColor2="245, 245, 245" Font-Size="11pt" Font-Names="Arial"

Font-Bold="True" BackColor="Gray" Overflow="Hidden">

<Padding Top="4px" Left="2px" Bottom="4px" Right="2px"></Padding>

</CaptionStyle>

<BarStyle>

<Active BaseStyle="Normal" BackColor="LightGray">

</Active>

<Over BaseStyle="Normal" BackColor="LightSteelBlue">

</Over>

<Normal BackColor2="245, 245, 245" Font-Size="8.25pt" Font-Names="Tahoma" Font-Bold="True"

BackColor="White" GradientType="Vertical" Overflow="Hidden" Cursor="Hand">

</Normal>

</BarStyle>

</BarSettings>

<Bars>

<ISWebDesktop:WebNavBar CaptionDisplayMode="Text"

Name="MyWork" Text="My Work" Image="/images/help/reviewchanges.gif">

<Items>

<ISWebDesktop:WebNavBarItem DisplayMode="Text" Text="Recently Opened" Name="MainMRU.aspx" />

</Items>

</ISWebDesktop:WebNavBar>

</Bars>

<FrameStyle BorderWidth="1px" BorderColor="Silver" BackColor="White">

</FrameStyle>

<FooterSettings>

<FooterStyle BackColor2="220, 220, 220" HorizontalAlign="Right" BackColor="White"

GradientType="Vertical" Overflow="Hidden"></FooterStyle>

</FooterSettings>

<GripStyle>

<Active BackColor2="0, 0, 0" BaseStyle="Normal" BackColor="Gray">

</Active>

<Over BaseStyle="Normal">

</Over>

<Normal BackColor2="128, 128, 128" BackColor="LightGray" GradientType="Vertical"

Overflow="Hidden">

</Normal>

</GripStyle>

</ISWebDesktop:WebNavPane>

</ContentTemplate>

</ISWebDesktop:WebPane>

<ISWebDesktop:WebPane ContentMode="UseIFrame" ContentURL="MainMRU.aspx" Name="paneDetails"

Text="Recently Opened" AllowResize="Yes" AllowCollapse="Yes" InProgressText="Loading Page...">

</ISWebDesktop:WebPane>

</Panes>

</ISWebDesktop:WebGroupPane>

</Panes>

</RootGroupPane>

<SplitterStyle >

<Active BaseStyle="Normal" BackColor="Black">

</Active>

<Over BaseStyle="Normal" BackColor="Gray" >

</Over>

<Normal BackColor="#E0E0E0">

</Normal>

</SplitterStyle>

</ISWebDesktop:WebPaneManager>

 

function OnActiveBarChanged(id, bar) {

var navPane = ISGetObject("WebNavPane1");

var navBar = navPane.GetActiveBar();

NavPane_BarItemClick(id, bar.GetActiveBarItem());

}

function NavPane_BarItemClick(id, barItem) {

var paneMgr = ISGetObject("WebPaneManager1");

var dtlPane = paneMgr.GetPaneByName("paneDetails");

var appName = barItem.Parent.Text;

dtlPane.SetContentURL(barItem.Name);

}

1 attachment
All times are GMT -5. The time now is 5:09 PM.
Previous Next