Click here to Skip to main content
15,894,646 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Previous Page Pin
Abhishek Sur4-Dec-09 11:55
professionalAbhishek Sur4-Dec-09 11:55 
QuestionAJAX control Toolkit Accordion Control problem Pin
Faisal Khatri4-Dec-09 5:18
Faisal Khatri4-Dec-09 5:18 
AnswerRe: AJAX control Toolkit Accordion Control problem Pin
keyur satyadev4-Dec-09 21:36
keyur satyadev4-Dec-09 21:36 
AnswerRe: AJAX control Toolkit Accordion Control problem Pin
Mark Graham7-Dec-09 0:33
Mark Graham7-Dec-09 0:33 
RantPostBackUrl Pin
Munteanu Ciprian4-Dec-09 3:13
Munteanu Ciprian4-Dec-09 3:13 
GeneralRe: PostBackUrl Pin
OriginalGriff4-Dec-09 4:08
mveOriginalGriff4-Dec-09 4:08 
GeneralRe: PostBackUrl Pin
Mark Graham7-Dec-09 0:37
Mark Graham7-Dec-09 0:37 
GeneralRe: PostBackUrl Pin
Mark Graham7-Dec-09 0:50
Mark Graham7-Dec-09 0:50 
The Postback url defaults to the current page and this is where your first click will return to, because, at this first click point your browser doesn't know to postback to NewPage.aspx. Only on the second click (after you've set Button1.PostBackUrl = "NewPage.aspx") will you get postback to the new page.

IF YOU NEED TO POSTBACK TO A DIFFERENT PAGE THEN....

you can't avoid using javascript. Setting PostBackUrl on the server won't affect the current request (your first click).

IF YOU'RE NOT REALLY CONCERNED WITH POSTBACK THEN....

do what the other guys suggested and replace the Button1.PostBackUrl = "NewPage.aspx" with the ReDirect, or Server.Transfer("NewPage.aspx"); code.


RantPostBackUrl Pin
Munteanu Ciprian4-Dec-09 3:11
Munteanu Ciprian4-Dec-09 3:11 
GeneralRe: PostBackUrl Pin
Vimalsoft(Pty) Ltd4-Dec-09 4:07
professionalVimalsoft(Pty) Ltd4-Dec-09 4:07 
QuestionHow to invoke Anchor tag click event without clicking in asp.net Pin
Nekkantidivya4-Dec-09 1:39
Nekkantidivya4-Dec-09 1:39 
AnswerRe: How to invoke Anchor tag click event without clicking in asp.net Pin
saini arun4-Dec-09 1:58
saini arun4-Dec-09 1:58 
AnswerRe: How to invoke Anchor tag click event without clicking in asp.net Pin
Abhishek Sur4-Dec-09 3:00
professionalAbhishek Sur4-Dec-09 3:00 
QuestionProblem setting Header Image in GridView Control Pin
CrazyCoder264-Dec-09 0:12
CrazyCoder264-Dec-09 0:12 
AnswerRe: Problem setting Header Image in GridView Control Pin
sashidhar4-Dec-09 0:38
sashidhar4-Dec-09 0:38 
GeneralRe: Problem setting Header Image in GridView Control Pin
CrazyCoder264-Dec-09 0:54
CrazyCoder264-Dec-09 0:54 
GeneralRe: Problem setting Header Image in GridView Control Pin
Petr Pechovic4-Dec-09 1:01
professionalPetr Pechovic4-Dec-09 1:01 
GeneralRe: Problem setting Header Image in GridView Control Pin
sashidhar4-Dec-09 1:02
sashidhar4-Dec-09 1:02 
GeneralRe: Problem setting Header Image in GridView Control Pin
CrazyCoder264-Dec-09 1:34
CrazyCoder264-Dec-09 1:34 
AnswerRe: Problem setting Header Image in GridView Control Pin
sashidhar4-Dec-09 1:18
sashidhar4-Dec-09 1:18 
GeneralRe: Problem setting Header Image in GridView Control Pin
CrazyCoder264-Dec-09 1:53
CrazyCoder264-Dec-09 1:53 
GeneralRe: Problem setting Header Image in GridView Control Pin
sashidhar4-Dec-09 17:34
sashidhar4-Dec-09 17:34 
Questiongetting an issue when we click on back button of the browser Pin
getaccessyr4-Dec-09 0:08
getaccessyr4-Dec-09 0:08 
AnswerRe: getting an issue when we click on back button of the browser Pin
sashidhar4-Dec-09 0:45
sashidhar4-Dec-09 0:45 
QuestionValidations in Multiview Pin
sris 4263-Dec-09 23:01
sris 4263-Dec-09 23: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.