Hi Narcis!
A webform with a TeeChart (Web) is called by another webform with the function "Server.Tranfer". When the user want to zoom on the chart, the previous webform is shown. Maybe the reason is, that the URL of the first page is still written in the adressbar.
Do you know this problem? I know, that's even possible to call a webform by the function "Response.Redirect" and it works. But we have to call webforms in this project with "Server.Tranfer".
Hope you can help me! Thanks!
Best regards!
else
New problems occured by zooming!!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi else,
Would you be so kind to send us an example we can run "as-is" to reproduce the problem here?
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Would you be so kind to send us an example we can run "as-is" to reproduce the problem here?
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi else,
Could you please try to send it directly to me then?
Thanks in advance.
Could you please try to send it directly to me then?
Thanks in advance.
Last edited by Narcís on Wed Oct 04, 2006 11:32 am, edited 1 time in total.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi else,
You're welcome! I'm glad to hear that.
I'm posting the solution we gave you so that other users can benefit from that in the future.
Your webform2 should look like this:
You're welcome! I'm glad to hear that.
I'm posting the solution we gave you so that other users can benefit from that in the future.
Your webform2 should look like this:
Code: Select all
public class WebForm2 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.ImageButton ImageButton1;
protected System.Web.UI.WebControls.Label Label1;
private static bool go=false;
private void Page_Load(object sender, System.EventArgs e)
{
if(go)
{
Server.Transfer("WebForm1.aspx", true);
}
// Hier Benutzercode zur Seiteninitialisierung einfügen
}
#region Vom Web Form-Designer generierter Code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: Dieser Aufruf ist für den ASP.NET Web Form-Designer erforderlich.
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
private void InitializeComponent()
{
this.ImageButton1.Click += new System.Web.UI.ImageClickEventHandler(this.ImageButton1_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void ImageButton1_Click(object sender, System.Web.UI.ImageClickEventArgs e)
{
go = true;
Server.Transfer("WebForm1.aspx",true);
}
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |