I have a asp button and it has its onclick property. using this property I want to open a pop-up window using window.open().
How to write javascript inside the OnClick property.
window.open() used inside a OnClientClick property is fine. I want to use OnClick Property.
Loading
Soft CornerPosted Mar 13, 2011, 6:19 AM
In Page_Load :
Button1.Attributes.Add( "onclick", "popWin();return false;" );
& in source code :
Chandra Sekhar KPosted Mar 13, 2011, 6:24 AM
Inside onclick property, i want to open a pop-up window.