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
mayank jain
NA
7
0
alert msg in asp.net
May 29 2009 9:03 AM
whn i use this code it works
private
void
OkayAction_Click1(
object
sender, System.
EventArgs
e)
{
String
message = Resources.
ValidationResources
.blank;
String
script =
"alert('message')"
;
ClientScript.RegisterClientScriptBlock(
typeof
(
Page
),
"MyScript"
, script,
true
);
}
but this code doesnt work
private
void
OkayAction_Click1(
object
sender, System.
EventArgs
e)
{
String
message = "hi"
;
String
script =
"alert(message)"
;
ClientScript.RegisterClientScriptBlock(
typeof
(
Page
),
"MyScript"
, script,
true
);
}
means i have to pick up value ant other method to do ths plz
Reply
Answers (
3
)
Remove a special character from a file and save in same file.
VS2005 Master-Detail - using auxilary grid prevents Detail records saving.