3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by murugavel84
0

But what to do if I am redirecting my page on Button_click() event. How can i write this <a href> code in a button click event.

0

Using Javascript it is possible..

on button click you need to register your script

which will open a Modal Popup just Like a Current Window..

hope that should work...

0

But what to do if I am redirecting my page on Button_click() event. How can i write this <a href> code in a button click event.

Hey very simple,

function openwindow(pagename)
{
window.open(pagename,"MyWindow");
}

call this javascript on your button "onClientClick" event. Pass the page url as argument

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.