In my Project I have a table on which I use a cell in order to open various pages with different works.
I use that script:
Dim url As String = "../../Pages/Support/Asp/Help01.aspx"
Dim msg As String = "<script type='text/javascript'>
document.getElementById('iFrame').innerHTML = " +
"$(document).ready(function(){ window.location.href='" + url + "'; });
</script>"
Page.ClientScript.RegisterStartupScript(Me.GetType(), "myURL", msg)
For this purpose. But what I get is to close the current page and open (in full screen) the new page.
How can I make the new page to open inside of the table cell which I want.
Copyright Notice:Content Author:「Lefteris Gkinis」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/21202631/how-to-open-aspx-page-inside-of-a-table-cell-using-javascript