Click here to Skip to main content
15,896,310 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My hyperlink looks like this

<asp:HyperLink ID="Help" runat="server" NavigateUrl="~/FP/Help.aspx?ID_Question=1" Target="_blank" >help Instructions

This code hopens a new page .. a new full page.. how can I set it that way to open like a small window, for example with width=300 and height=250 (Kind of a PopUp)
Posted

1 solution

You need to use the Window.Open[^] in JavaScript.

For e.g.:

C#
window.open ("http://manasbhardwaj.net",
"mywindow","menubar=1,resizable=1,width=300,height=250");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900