Welcome Guest Search | Active Topics | Sign In | Register

Page Freezes while loading Options
RAM
Posted: Tuesday, September 2, 2008 8:09:07 AM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 19
My page contains 3 calender controls and 2- call back panel controls. when I load the page some times it completely freezes and does not respond at all. The progress bar shows the following message ..

(31 items remaining) Downloading picture http://<domain name>/WebApp/eo_web.ashx?id=Oed0550f-16dd..........
RAM
Posted: Tuesday, September 2, 2008 8:23:09 AM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 19
I found this solution in this forum. Could you explain step by step process to achieve this ?

"....This is a known issue where IE would not cache the image. We renders the image with caching headers properly set and for some reason IE just refuse to cache them and it occurs particular when the image is a background image, which is your case. We have experimented and noticed that IE often started to cache them if you clear out your temp file cache, but it will soon stop caching them as if it has never seen these images.

One thing you can try is to use real image files instead of the built-in "virtual images". You can find all the image files we use in a zip file Images.zip in your installation folder. You can unzip that file to get the real images, put it on your server, then set appropriate menu properties to use those files. This way it may not be able to get the cache working, but at least it bypasses ASP.NET when the image is fetched. Thus eliminates at least one step.

We will continue to research the cache issues and see if we can find anything......."
eo_support
Posted: Tuesday, September 2, 2008 8:39:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,092
Hi,

The cache issue slows down the performance, but it should not freeze the browser. In theory the browser should not freeze because of DHTML or JavaScript (which is what our component renders). If it were a JavaScript lock up, the browser would display a warning message prompting such and give you the option to stop the script. The most common case when browser freezes are caused by third-party plugs and spyware. Thus you may want to check for those or test it from another machine.

Below is a brief summary of how to use physical image files:

1. Find out all the built-in images used by our controls. The easiest way to find out the built-in images is to switch to ASPX view and look for eight digit numbers. For example, you may see ImageUrl="00030308". Here "00030308" is a built-in image;

2. Replace all built-in images with your own image files. For example, change ImageUrl="00030308" to ImageUrl="/images/some_image.gif";

This means you will need to have those image files on your disk. We ship all image files used by our product in a zip file as Images.zip. You can find that file in the application installation folder (default Program Files\Essential Objects\EO.Web Controls 2008), you can unzip that file and find files that you will be using and place them on your website.

Thanks
RAM
Posted: Tuesday, September 2, 2008 9:00:33 AM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 19
Thanks for the immediate response ... Let me elobarate the problem in detail ...

I have three drop down lists (let us say d1, d2, d3). when page loads d1 loads, d2 is depends on d1's selection value and d3 load depends on d1&d2's selection value. I used call back panel to achieve this cascading drop down list ..
here is the code ..

<asp:DropDownList id="d1" runat="server" CssClass="mycheckoutDropdown" AutoPostBack="true" OnSelectedIndexChanged ="d1_OnSelectedIndexChanged" >
</asp:DropDownList><br/>
<br/>

<eo:CallbackPanel runat="server" id="CallbackPanel2" AutoDisableContent="True" Triggers="{ControlID:d1;Parameter:}" LoadingDialogID="loadingDialog" >
<asp:DropDownList id="d2" runat="server" CssClass="mycheckoutDropdown" AutoPostBack="true" OnSelectedIndexChanged = "d2_OnSelectedIndexChanged" >
</asp:DropDownList>
</eo:CallbackPanel><br/>

<eo:CallbackPanel runat="server" id="CallbackPanel1" AutoDisableContent="True" Triggers="{ControlID:d1;Parameter:},{ControlID:d2;Parameter:}" LoadingDialogID="loadingDialog" >
<asp:DropDownList id="d3" runat="server" CssClass="mycheckoutDropdown">
</asp:DropDownList>
</eo:CallbackPanel>

<eo:Dialog TopMost="True" ID="loadingDialog" runat="server" BackShadeColor="LightGreen" Visible = "true" BackShadeOpacity="30" >
<ContentTemplate>
<table border="0px" width="226px" bgcolor="Orange" cellpadding="0" cellspacing="0" >
<tr>
<td align="center">
Please Wait ...
</td>
</tr>
<tr>
<td align="center">
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/indicator.gif"/>
</td>
</tr>
</table>
</ContentTemplate>
</eo:Dialog>

Problems :
1)When the page load is delayed, assume that the the user gets a chance to play with drop down lists which will do a post back and rebind the drop down lists, in this case the page freezes and LoadingDialog remians on the screen for ever ..
2)The page load is delayed and remin like that for ever ...

Is replacing built in images solve this problem ?

eo_support
Posted: Tuesday, September 2, 2008 9:33:18 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,092
Hi,

As mentioned in our previous reply, most of the time browser freeze problem is caused by other issues. So I do not expect that to be anything directly related to image loading.

What you described appears to be more of a coding error rather than a browser lock up though. If you can create an independent test page that demonstrates the problem (make sure it runs independently), we will be happy to take a look. Please keep in mind that if it is a coding error on your side, we can point out the error but we will not be responsible for fixing it. If it is an error on our side, we will try to fix it as soon as possible.

Thanks
RAM
Posted: Tuesday, September 2, 2008 11:12:11 AM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 19
Thanks for the response ...

The problem I explained above is not happening always with same test case ... It is getting freezes very few times and when it freezes ..... the progress bar shows this kind of message "(31 items remaining) Downloading picture http://<domain name>/WebApp/eo_web.ashx?id=Oed0550f-16dd.........." I thought it is because of the loading time and user is using the partially loaded page which is making the page freezes ...

I do not expect EO team to adress my code errors/issues. The reason I am posting here is, I am trying to determine what is causing the issue as it is urgent for us to fix.
eo_support
Posted: Tuesday, September 2, 2008 11:19:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,092
Unfortunately we can't really give you much more information on this. The "downloading picture...." message that you see is very common with IE, and in fact we never seen it has any relation to a browser lock up. So I would suggest you to ignore the image loading message and focus on environment issues and possible code errors.
RAM
Posted: Tuesday, September 9, 2008 11:31:40 AM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 19
I solved my problem by restructuring the page design. I am not sure what exactly solved the problem but. I restuctured the page with all the valid html tags(no closing tag missings, no red underlines in the html/asp.net code, properly nested table structures) etc ..
eo_support
Posted: Tuesday, September 9, 2008 12:25:02 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,092
Hi,

Thanks for the update. Some invalid HTML tags might have triggered the lock up. Anyway good to know that it's working for you!

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.