About
Pricing
Community
Teams
Start Free Trial
Log in
mwhodges
asked on
11/10/2010
Popup box in asp.net 4.0 when a condition is met
I would like to create a popupboxe when a condition is met in the codebehind. The condition is if the day they chose is a Sunday or not. I already have the conditional testing working I just need the popup. Thanks
ASP.NET
Visual Basic.NET
AJAX
5
1
Last Comment
mwhodges
8/22/2022 - Mon
Chad Smith
11/10/2010
Response.Write("<script>al
ert('My Popup');</script>");
mwhodges
11/10/2010
ASKER
Is this for vb? the semicolon looks like a c# call.
mwhodges
11/10/2010
ASKER
I get the following error message when I try to run it:
Microsoft JScript runtime error: Sys.WebForms.PageRequestMa
nagerParse
rErrorExce
ption: The message received from the server could not be parsed
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
Chad Smith
11/10/2010
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mwhodges
11/10/2010
ASKER
I tried the code without the semicolon and I got the earlier error message.