Postback

  • Thread starter Thread starter Johan
  • Start date Start date
J

Johan

I'm coding a webapp in VB.NET where I'm using a WebForm (Webform1) as
the source for an Input Image to a second WebForm (Webform2).

<INPUT style="Z-INDEX: 105; LEFT: 0px; POSITION: absolute; TOP: 0px"
type="image" src="WebForm1.aspx" name="gamegrid">

I have a commandbutton on WebForm2 and when I click the comandbutton it
gives a Postback to Webform1. This works fine when I run WebForm2
directly.

My problem is when I add the Webforms to a html Frameset I don't get
the Postback any longer to Webform1 when I click the commandbutton.
Have I missed to add anything to the Frameset or elsewhere to make it
work?



<html>
<head>
<TITLE>Banner and Content Frameset</TITLE>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</head>
<frameset rows="162,62%">
<frameset cols="209,72%">
<frame name="main" src="WebForm2.aspx">
 
Is there anyway to get the postback to WebForm1? I have code there I
want to run when I click the commandbutton.
 
Back
Top