Click here to Skip to main content
15,918,178 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCreating Bin Folder in Asp.Net 2.0 Pin
Milind Panchal14-Sep-08 3:50
Milind Panchal14-Sep-08 3:50 
AnswerRe: Creating Bin Folder in Asp.Net 2.0 Pin
Manas Bhardwaj14-Sep-08 7:06
professionalManas Bhardwaj14-Sep-08 7:06 
AnswerRe: Creating Bin Folder in Asp.Net 2.0 Pin
Sandeep Akhare14-Sep-08 20:28
Sandeep Akhare14-Sep-08 20:28 
QuestionPrinting using reportviewer Pin
IamAmit14-Sep-08 1:53
IamAmit14-Sep-08 1:53 
QuestionThis probabaley has been asked before but not getting the solution (DropDownlist Problem) Pin
Rameez Raja13-Sep-08 19:26
Rameez Raja13-Sep-08 19:26 
AnswerRe: This probabaley has been asked before but not getting the solution (DropDownlist Problem) Pin
Blue_Boy13-Sep-08 20:09
Blue_Boy13-Sep-08 20:09 
QuestionASP.NET ChangePassword Server control Pin
Ray Cassick13-Sep-08 14:59
Ray Cassick13-Sep-08 14:59 
QuestionJavascript Alert Box does not Display Pin
Vimalsoft(Pty) Ltd13-Sep-08 12:49
professionalVimalsoft(Pty) Ltd13-Sep-08 12:49 
Good Evening Guys, Today its my Birthaday. Smile | :)

I have a If statement that i use to return an integer that will mean Success or Failure , now am testing for that integer in my ASP.NET 2.0 Page lke this

 if (Res == 1)
       {


Response.Write(@"<script> alert('You have Successfully Registred');</script>");

           Response.Redirect("login.aspx", false);
       }
       else
       {

Response.Write(@"<script> alert('Invalid Data has been Entered');</script>");


Now if the value is 1, then it should Display the Message and after the Message has been Clicked it should move to the login Page. Now my Problem is that it moves to the Login Page without a Alert Message being Displayed And the send Alert for invalid Entry, will not show anythingm, there is a Warning sign on my Page at the Bootom left of my Page. What is wrong with my Javascript

Thanks

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


AnswerRe: Javascript Alert Box does not Display Pin
Guffa13-Sep-08 13:20
Guffa13-Sep-08 13:20 
AnswerRe: Javascript Alert Box does not Display Pin
ncsubbu14-Sep-08 19:12
professionalncsubbu14-Sep-08 19:12 
GeneralRe: Javascript Alert Box does not Display Pin
Vimalsoft(Pty) Ltd14-Sep-08 20:44
professionalVimalsoft(Pty) Ltd14-Sep-08 20:44 
AnswerRe: Javascript Alert Box does not Display Pin
Sandeep Akhare14-Sep-08 20:04
Sandeep Akhare14-Sep-08 20:04 
AnswerRe: Javascript Alert Box does not Display Pin
Vimalsoft(Pty) Ltd14-Sep-08 20:42
professionalVimalsoft(Pty) Ltd14-Sep-08 20:42 
Questionin witch event i shoud write code?(for datalist) Pin
strawberrysh13-Sep-08 3:23
strawberrysh13-Sep-08 3:23 
AnswerRe: in witch event i shoud write code?(for datalist) Pin
Christian Graus13-Sep-08 13:24
protectorChristian Graus13-Sep-08 13:24 
AnswerRe: in witch event i shoud write code?(for datalist) Pin
Eslam Afifi13-Sep-08 16:36
Eslam Afifi13-Sep-08 16:36 
Questionweb.config cross references Pin
filinM13-Sep-08 2:11
filinM13-Sep-08 2:11 
QuestionGRID VIEW asp.net c# 2.0 problem Pin
VijayVishwakarma13-Sep-08 1:42
VijayVishwakarma13-Sep-08 1:42 
AnswerRe: GRID VIEW asp.net c# 2.0 problem Pin
Sandeep Akhare13-Sep-08 1:49
Sandeep Akhare13-Sep-08 1:49 
Questionget value from url Pin
ptvce13-Sep-08 0:13
ptvce13-Sep-08 0:13 
AnswerRe: get value from url Pin
Sandeep Akhare13-Sep-08 1:47
Sandeep Akhare13-Sep-08 1:47 
AnswerRe: get value from url Pin
ncsubbu14-Sep-08 19:16
professionalncsubbu14-Sep-08 19:16 
QuestionHow to Export webpage to PowerPoint Pin
K V Sekhar12-Sep-08 23:00
K V Sekhar12-Sep-08 23:00 
AnswerRe: How to Export webpage to PowerPoint Pin
Manas Bhardwaj13-Sep-08 23:35
professionalManas Bhardwaj13-Sep-08 23:35 
AnswerRe: How to Export webpage to PowerPoint Pin
hasan jamal siddiqui7-Sep-11 23:30
hasan jamal siddiqui7-Sep-11 23:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.