Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Iframes and refreshing main page

Status
Not open for further replies.

ndevriendt

Programmer
Jan 8, 2002
74
BE
Hello,

I have a web page with a grid. Below the grid I have a panel on which I dynamically create a Iframe that shows a website. The action that the user does, decide which website should be shown in the iframe on the panel.

I'm using the following code :

Panel1.Controls.Add(new LiteralControl(<iframe FRAMEBORDER=0 width=100% height=100% src="Page1"> </iframe>));


Is there a possibility to refresh my grid/page after the user have made changes in de detail website (with a button on the detail aspx form) ?

How can I close my website in the iframe. Now I'm doing it with the following code:

(base.Parent.FindControl("Panel1") as Panel).Controls.Clear();

Is this the correct way ?

Thanks for your time and answer.

Devriendt Nico
 
>>Is there a possibility to refresh my grid/page after the user have made changes in de detail website


if the page that is called in the iframe is under your control you can do it...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top