c# - Child webpages help -
C #, ASP Using Net
I have a link to another web page in my web page, if I click on the link that should be shown to another page inside the main page such as child page .
Another webpage should look like a popup window in my webpage and another webpage should be small in size. How to do it
Need help
To display a web page
Attention I think the second part of your question wants to be able to display the link in a separate window. To do this, use the target = "blank" attribute in the anchor tag. You must use Javascript to set the size of the hair window:
& lt; Script type = "text / javascript" & gt; Function show popup (url) {newwindow = window.open (url, 'name', 'height = 190, width = 520, top = 200, left = 300, resizable'); If (window.focus) {newwindow.focus ()}} & lt; / Script & gt;
Just call the showPopup method from your anchor click event
& lt; A href = "http://www.yoururl.com" onclick = "show popups ('http://www.yoururl.com');" & Gt; Link text & lt; / A & gt;
Ideally you will move javascript so that it is not inline anymore, but it should work.