ndevriendt
Programmer
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
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