Postback

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">
 
N

needin4mation

Wouldn't that mean you are posting back to the frameset page instead of
webform1?
 
J

Johan

Is there anyway to get the postback to WebForm1? I have code there I
want to run when I click the commandbutton.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top