You can use simple JavaScript function to perform page redirection.
function redirect()
{
location.href = 'page.aspx';
}
Specify you'r redirect URL at the location.href and call this function where you want the redirect to occur.
Calling the function on a button click.
<asp:Button ID="Button1" runat="server" Text="Button" onclientclick='redirect()' />
No comments:
Write comments