Hi Chris,
What is in the iFrame? What is the 'src' property equal to? If it is
another .aspx page then when you click a button a postback for that page
will occur like you want. In that button's click even just put:
Response.Redirect("NextPage.aspx")
The iFrame will then display the next page and the other frames won't
change. Remember that when your page in the frame posts back it isn't going
to post back to the webform containing the iFram but to itself. Ken.
"Chris Kennedy" <ck**************@bleyonder.co.uk> wrote in message
news:O0****************@TK2MSFTNGP12.phx.gbl...
Sorry I'm not understanding you. It is webform containing an iframe I
thought you needed javascript to change an inline frame. I need to change
the iframe from the webform. Could you demonstrate with a little code to
make thing clearer. Cheers.
"Ken Dopierala Jr." <kd*********@wi.rr.com> wrote in message
news:ux*************@TK2MSFTNGP15.phx.gbl... Hi Chris,
Your iFrame is just holding a regular .aspx page. So in the click event
of that button on the server side run your code and then do a
Response.Redirect() to your new page. Good luck! Ken.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"Chris Kennedy" <ck**************@bleyonder.co.uk> wrote in message
news:uN**************@TK2MSFTNGP15.phx.gbl... I want to put an Iframe on a webform page. How do I get the Iframe's
source file to change at the press of button control on a web form
(containing the iframe). Preferabaly without javascript, postbacks are acceptable.
Cheers.