Click here to Skip to main content
15,908,931 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Installing Starter Kits Errors Pin
Michael Sync22-Feb-07 16:42
Michael Sync22-Feb-07 16:42 
QuestionReferencing Enterprise Library Pin
Taurian11022-Feb-07 9:34
Taurian11022-Feb-07 9:34 
AnswerRe: Referencing Enterprise Library Pin
badgrs22-Feb-07 11:34
badgrs22-Feb-07 11:34 
AnswerRe: Referencing Enterprise Library Pin
Colin Angus Mackay22-Feb-07 12:57
Colin Angus Mackay22-Feb-07 12:57 
AnswerRe: Referencing Enterprise Library Pin
Michael Sync22-Feb-07 16:02
Michael Sync22-Feb-07 16:02 
Questionvariables and postback Pin
mamalanga22-Feb-07 7:47
mamalanga22-Feb-07 7:47 
AnswerRe: variables and postback Pin
Marcus J. Smith22-Feb-07 9:09
professionalMarcus J. Smith22-Feb-07 9:09 
QuestionCancel a postback Pin
theJazzyBrain22-Feb-07 5:47
theJazzyBrain22-Feb-07 5:47 
Dear CPians,

I am using the Page.IsPostBack property. When this evaluates to true, hence I am within a post back, I want, in some cases to cancel the post back. I need to prevent it of happening in case some condition evaluates to true.
Example:

if (Page.IsPostBack)
{
    if (something == true)
    {
	   DO SOMETHING TO CANCEL THE POSTBACK
    }
}


Is there a way to prevent it of happening?

Thanking you in advance


Jason Kataropoulos
Excellence is not an act, but a habit!
Aristotle


AnswerRe: Cancel a postback Pin
badgrs22-Feb-07 6:01
badgrs22-Feb-07 6:01 
GeneralRe: Cancel a postback Pin
theJazzyBrain22-Feb-07 6:13
theJazzyBrain22-Feb-07 6:13 
AnswerRe: Cancel a postback Pin
Jesse Squire22-Feb-07 6:31
Jesse Squire22-Feb-07 6:31 
AnswerRe: Cancel a postback Pin
Marcus J. Smith22-Feb-07 8:03
professionalMarcus J. Smith22-Feb-07 8:03 
QuestionSiteMapPath stability concerns Pin
icestatue22-Feb-07 5:44
icestatue22-Feb-07 5:44 
Questionchange visible value Pin
netJP12L22-Feb-07 5:43
netJP12L22-Feb-07 5:43 
AnswerRe: change visible value Pin
Sandeep Akhare27-Feb-07 1:43
Sandeep Akhare27-Feb-07 1:43 
GeneralRe: change visible value Pin
netJP12L27-Feb-07 3:25
netJP12L27-Feb-07 3:25 
QuestionAjax Accordion Control Pin
peter.bellen@qsm-europe.com22-Feb-07 4:28
peter.bellen@qsm-europe.com22-Feb-07 4:28 
AnswerRe: Ajax Accordion Control Pin
Jesse Squire22-Feb-07 4:49
Jesse Squire22-Feb-07 4:49 
QuestionHow do I connect from a Webfarm not on domain to a server on a domain? Pin
MacSpudster22-Feb-07 4:14
professionalMacSpudster22-Feb-07 4:14 
AnswerRe: How do I connect from a Webfarm not on domain to a server on a domain? Pin
icestatue22-Feb-07 5:50
icestatue22-Feb-07 5:50 
Questionhow to align dynamically created web control Pin
mohd imran abdul aziz22-Feb-07 2:09
mohd imran abdul aziz22-Feb-07 2:09 
AnswerRe: how to align dynamically created web control Pin
Sandeep Akhare22-Feb-07 2:29
Sandeep Akhare22-Feb-07 2:29 
AnswerRe: how to align dynamically created web control Pin
Not Active22-Feb-07 2:50
mentorNot Active22-Feb-07 2:50 
QuestionHow to create a custom control in web application Pin
sribachana22-Feb-07 2:06
sribachana22-Feb-07 2:06 
AnswerRe: How to create a custom control in web application Pin
Sandeep Akhare22-Feb-07 2:25
Sandeep Akhare22-Feb-07 2:25 

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.