Click here to Skip to main content
15,887,683 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCompare two Template Fields of Gridview Pin
Rameez Raja9-Jan-12 21:36
Rameez Raja9-Jan-12 21:36 
AnswerRe: Compare two Template Fields of Gridview Pin
manognya kota9-Jan-12 22:40
manognya kota9-Jan-12 22:40 
AnswerRe: Compare two Template Fields of Gridview Pin
Karthik Harve9-Jan-12 22:43
professionalKarthik Harve9-Jan-12 22:43 
AnswerRe: Compare two Template Fields of Gridview Pin
jkirkerx13-Jan-12 10:46
professionaljkirkerx13-Jan-12 10:46 
Questionhow to display menu control like code project top navigation and left panel menu Pin
developerit9-Jan-12 20:47
developerit9-Jan-12 20:47 
AnswerRe: how to display menu control like code project top navigation and left panel menu Pin
David C# Hobbyist.10-Jan-12 3:07
professionalDavid C# Hobbyist.10-Jan-12 3:07 
AnswerRe: how to display menu control like code project top navigation and left panel menu Pin
anishkannan10-Jan-12 20:16
anishkannan10-Jan-12 20:16 
Questionwindow.location.replace Pin
Satish_S9-Jan-12 0:09
Satish_S9-Jan-12 0:09 
hi
i have following line of code

randomNumber = Math.round(100000*Math.random());


url = "sample.aspx?host="+host+"&port="+port+"&targetName="+targetName+"&imageMode="+imageMode+"&randomNumber="+randomNumber;
alert("callbegins:Authentication.aspx");
location.replace(url);
alert("callends:Authentication.aspx");
break;


in the Authentication.aspx page i have the client code which connects a device. when the line of the above code getting executed it is redirecting to the URL server side but my javascript code are not working. when i call alert after replace then the page getting redirected and client code is getting excuted.
i am confused that why when putting alert after replace it is redirecting and calling client code but when the alert commented then the client code not working.


this issue is in fire fox, and in IE9 its not at all redirecting if alert also there.

please clarify me why this happens

thanks
AnswerRe: window.location.replace Pin
jkirkerx9-Jan-12 9:24
professionaljkirkerx9-Jan-12 9:24 
GeneralRe: window.location.replace Pin
Satish_S9-Jan-12 23:45
Satish_S9-Jan-12 23:45 
GeneralRe: window.location.replace Pin
jkirkerx10-Jan-12 6:33
professionaljkirkerx10-Jan-12 6:33 
GeneralRe: window.location.replace Pin
Satish_S10-Jan-12 18:05
Satish_S10-Jan-12 18:05 
GeneralRe: window.location.replace Pin
jkirkerx10-Jan-12 18:10
professionaljkirkerx10-Jan-12 18:10 
GeneralRe: window.location.replace Pin
jkirkerx10-Jan-12 18:16
professionaljkirkerx10-Jan-12 18:16 
GeneralRe: window.location.replace Pin
Satish_S10-Jan-12 18:20
Satish_S10-Jan-12 18:20 
GeneralRe: window.location.replace Pin
jkirkerx10-Jan-12 18:33
professionaljkirkerx10-Jan-12 18:33 
GeneralRe: window.location.replace Pin
Satish_S10-Jan-12 18:56
Satish_S10-Jan-12 18:56 
GeneralRe: window.location.replace Pin
jkirkerx10-Jan-12 19:03
professionaljkirkerx10-Jan-12 19:03 
GeneralRe: window.location.replace Pin
Satish_S12-Jan-12 1:11
Satish_S12-Jan-12 1:11 
GeneralRe: window.location.replace Pin
Satish_S10-Jan-12 18:17
Satish_S10-Jan-12 18:17 
Questionhow to downoad attachment file Pin
ashu_dhiman8-Jan-12 21:08
ashu_dhiman8-Jan-12 21:08 
AnswerRe: how to downoad attachment file Pin
manognya kota8-Jan-12 22:18
manognya kota8-Jan-12 22:18 
AnswerRe: how to downoad attachment file Pin
jkirkerx9-Jan-12 15:27
professionaljkirkerx9-Jan-12 15:27 
QuestionIs it possible to get the AJAX service response in user control? Pin
dayakar_dn8-Jan-12 6:16
dayakar_dn8-Jan-12 6:16 
AnswerRe: Is it possible to get the AJAX service response in user control? Pin
manognya kota8-Jan-12 21:01
manognya kota8-Jan-12 21:01 

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.