Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Hot to make alert box appear on the same page not on bank
Joma Rajab
8y
254
1
Reply
I want to display the alter message on the current page when I click on the button not on the blank page
please help
T
string
alertMessage =
"<script language=\"javascript\" type=\"text/javascript\">"
;
alertMessage +=
"alert('No quiz avalible');"
;
alertMessage +=
"window.location.href=\""
;
alertMessage +=
"View.aspx?Id="
+ Request.QueryString[
"Id"
].ToString();
alertMessage +=
"\";"
;
alertMessage +=
"</script>"
;
ClientScript.RegisterClientScriptBlock(GetType(),
"alertMessage "
, alertMessage);
hank you
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Web connector Error with QuickBook in ASMX service
How to reduce the size of Binary image.