In this article will explain how to page redirect
one page to another page with Button click event using JavaScript in asp.net.
Sample Code:
<script type="text/javascript">
function
Redirect() {
var url = http://vatturidotnet.blogspot.in/';
window.open(url);
}
</script>
Total page design code:
<html>
<head>
<script type="text/javascript">
function
Redirect() {
var url = http://vatturidotnet.blogspot.in/';
window.open(url);
}
</script>
</head>
<body>
<form runat="server" id="Redirect">
<asp:Button Text="Redirect" ID="btnclick" runat="server" OnClientClick="Redirect()" />
</form>
</body>
</html>
No comments:
Post a Comment