TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Saikiran Gst
NA
148
23.1k
confirmation and navigate to another page
Jul 22 2014 11:51 AM
hi every one i need solutin for this code now working in my project
code in aspx page:-
--------------------
<script type="text/javascript">
function show() {
if (confirm('r u sure?')) {
window.location.replace('yourpage.aspx');
}
}
</script>
code behind in .cs file:-
----------------
else
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "open", "show();", true);
}
Reply
Answers (
1
)
How to use Update Panel In Mvc 4...i want to stop post back
Bind Default Value as YES in Radio Button in mvc 5