View Full Version : windows Modal Dialog redirect itself without opening new window
10-05-2012, 09:42 AM
So I mean dialog1.aspx has a link that redirect itself to dialog2.aspx. I already try and it always open a new windows.
Or maybe someone has some workaround about this?
10-05-2012, 09:55 AM
Your visitor is supposed to be the one deciding what opens where - that's why the target attribute was made obsolete in 1997. It was only valid in HTML 3.2.
Most people don't want new browser windows opening any more and prefer either to have them open in a new tab or as an overlay on the current page.
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
10-05-2012, 10:19 AM
Sorry for my bad explaination before.
What I've done before are like this :
<asp:button id="button1" onClick="function_click"></asp:button>
protected void function_click(object sender, EventArgs e)
Is there any ways that I can redirect this modal dialog to other url.
And I don't know if I post this question to right forum or not. If it is not allowed here just delete it.
10-05-2012, 03:18 PM
This is definitely the wrong forum as it is in the Java forum. I'm just not sure if the asp forum makes more sense than the JS forum, but given the interactive nature I'd say the JS forum makes more sense.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.