Welcome Guest Search | Active Topics | Sign In | Register

EO.Web Controls 3.1 Stack overflow on line 7 Options
Ronan
Posted: Friday, June 15, 2007 4:24:38 AM
Rank: Newbie
Groups: Member

Joined: 6/15/2007
Posts: 5
Hi,

I am experiencing an error using a CallbackPanel on a page, which is simply linked to a button.

The first time I click the button there is no error.

However, the second time I click the button I get an error "Stack overflow on line 7".

This even happens in the EO.Web Live Demo for ASP 1.1

Is this a known issue? Is there a version with a fix available?

Regards,

Ronan
eo_support
Posted: Friday, June 15, 2007 4:53:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi Ronan,

We are not aware of any such issues. Most likely it has to do with your third party popup blocker/internet security software. Can you give detailed steps to reproduce it? Also try to access our demos from another machine and see if it works.

Thanks
Ronan
Posted: Tuesday, June 26, 2007 5:08:56 AM
Rank: Newbie
Groups: Member

Joined: 6/15/2007
Posts: 5
Hi,
I have created a simple example (full code below)which causes the issue on IE. However, with Firefox it exhibits a slightly different but seemingly related problem.
On the first click of the button in the example the panel reloads. However, on the second click the whole page reloads, on the third click only the panel reloads, and so on.

Any ideas? As I said I think they're related, because the stack overflow on IE only appears on every second click.

Regards,
Ronan

First page load ...


First click ... panel reloads OK


Second click ... Firefox (whole page reloads), IE ("Stack overflow error" and whole page then reloads


Code: C#
using System;

namespace WebApplication1
{
	/// <summary>
	/// Summary description for WebForm1.
	/// </summary>
	public class WebForm1 : System.Web.UI.Page
	{
		protected EO.Web.CallbackPanel CallbackPanel1;
		protected System.Web.UI.WebControls.Label Label1;
		protected System.Web.UI.WebControls.Label Label2;
		protected System.Web.UI.WebControls.Button Button1;
	
		private void Page_Load(object sender, System.EventArgs e)
		{
			Label2.Text = "Page loaded " + DateTime.Now.ToLongTimeString();
		}

		#region Web Form Designer generated code
		override protected void OnInit(EventArgs e)
		{
			//
			// CODEGEN: This call is required by the ASP.NET Web Form Designer.
			//
			InitializeComponent();
			base.OnInit(e);
		}
		
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{    
			this.Button1.Click += new System.EventHandler(this.Button1_Click);
			this.Load += new System.EventHandler(this.Page_Load);

		}
		#endregion

		private void Button1_Click(object sender, System.EventArgs e)
		{
			Label1.Text = "Panel loaded " + DateTime.Now.ToLongTimeString();
		}
	}
}


Code: HTML/ASPX
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApplication1.WebForm1" %>
<%@ Register TagPrefix="eo" Namespace="EO.Web" Assembly="EO.Web" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>WebForm1</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<eo:CallbackPanel id="CallbackPanel1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 88px"
				runat="server" Height="150px" Width="384px" Triggers="{ControlID:Button1;Parameter:}" BorderStyle="Dashed"
				BorderWidth="1px">
				<DIV style="WIDTH: 328px; POSITION: relative; HEIGHT: 104px" ms_positioning="GridLayout">
					<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 16px" runat="server"
						Height="24px" Width="280px">Label</asp:Label></DIV>
			</eo:CallbackPanel>
			<asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 240px; POSITION: absolute; TOP: 56px" runat="server"
				Text="Button"></asp:Button>
			<asp:Label id="Label2" style="Z-INDEX: 103; LEFT: 16px; POSITION: absolute; TOP: 56px" runat="server"
				Height="24px" Width="208px">Label</asp:Label>
		</form>
	</body>
</HTML>
eo_support
Posted: Tuesday, June 26, 2007 7:13:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi Ronan,

Thank you very much for the code. We will look into it immediately and see if we can find anything.

Thanks
eo_support
Posted: Tuesday, June 26, 2007 8:19:50 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi Ronan,

We tested your code on IE 6, IE 7, FireFox 1.5 and FireFox 2.0 and they all work as expected. Only the labe inside the box is updated.

Have you tried to run the sample on another machine and see if you get a different result?

Thanks
Ronan
Posted: Tuesday, June 26, 2007 8:37:56 AM
Rank: Newbie
Groups: Member

Joined: 6/15/2007
Posts: 5
We've tried on a couple of PCs here ... same issue ...

I've temporarily deployed to here so you can test ...

WebApp

... see if you get the same issue.

And project is available for download (again temporarily)

Project Source

Thanks

R
eo_support
Posted: Tuesday, June 26, 2007 8:45:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi Ronan,

We looked into it and found that you are using a way old version (3.1.6). The current version is 2007.1.15. Would you mind to try with the latest version?

2007.1 is backwards compatible. Also if you have a license for 3.1.6, you should be able to get a license file for 2007.1 for free by loging into your account and then select the "License Key" link. The new license file does not cover new controls introduced in 2007.1 though.

Thanks
Ronan
Posted: Tuesday, June 26, 2007 11:05:22 AM
Rank: Newbie
Groups: Member

Joined: 6/15/2007
Posts: 5
Hi
I've downloaded a new version and I'll try it out over the next few days.

Thanks for your help,

Regards,
Ronan


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.