button1.attributes.add("onclick", "window.open(....)")
button_cli开发者_开发技巧ck(object sender, eventargs e)
not run
How to make button click trigger when opening a new window?
call like this...dont call the window.open
directly
button1.attributes.add("onclick", "openwindow()")
function openwindow() {
window.open(....);
}
精彩评论