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

ASP.NET

 
GeneralRe: when I press ENTER search button it automatically opening another page Pin
Member 1201610628-Sep-15 0:06
Member 1201610628-Sep-15 0:06 
AnswerRe: when I press ENTER search button it automatically opening another page. why is that so? Pin
F-ES Sitecore27-Sep-15 22:42
professionalF-ES Sitecore27-Sep-15 22:42 
GeneralRe: when I press ENTER search button it automatically opening another page. why is that so? Pin
Member 1201610628-Sep-15 0:07
Member 1201610628-Sep-15 0:07 
GeneralRe: when I press ENTER search button it automatically opening another page. why is that so? Pin
F-ES Sitecore28-Sep-15 0:15
professionalF-ES Sitecore28-Sep-15 0:15 
GeneralRe: when I press ENTER search button it automatically opening another page. why is that so? Pin
Member 1201610628-Sep-15 0:27
Member 1201610628-Sep-15 0:27 
QuestionIsPostBack Pin
Member 1116162527-Sep-15 19:26
Member 1116162527-Sep-15 19:26 
AnswerRe: IsPostBack Pin
Richard MacCutchan27-Sep-15 21:44
mveRichard MacCutchan27-Sep-15 21:44 
AnswerRe: IsPostBack Pin
PANKAJMAURYA27-Sep-15 22:00
professionalPANKAJMAURYA27-Sep-15 22:00 
IsPostBack is a property by which you can check that is your page is loading first time or postbacking.

In ASP.NET application every event (like clicking a button) causing postback of same page. So the code block written in the page load will execute every time.

If you does not want to execute it everytime then enclose that code block with a if(!IsPostBack){}.
PANKAJ MAURYA
SOFTWARE ENGINEER (Daffodil S/W)
Gurgaon

AnswerRe: IsPostBack Pin
deepankarbhatnagar30-Sep-15 2:39
professionaldeepankarbhatnagar30-Sep-15 2:39 
AnswerRe: IsPostBack Pin
sridhar_thota7-Oct-15 21:16
sridhar_thota7-Oct-15 21:16 
QuestionHtmlTextWriter vs HtmlTable.RenderControl Pin
dashing_inn200323-Sep-15 17:57
professionaldashing_inn200323-Sep-15 17:57 
AnswerRe: HtmlTextWriter vs HtmlTable.RenderControl Pin
Richard MacCutchan23-Sep-15 21:45
mveRichard MacCutchan23-Sep-15 21:45 
QuestionHow to display results based on employees manager and department Pin
samflex22-Sep-15 17:23
samflex22-Sep-15 17:23 
AnswerRe: How to display results based on employees manager and department Pin
Herman<T>.Instance23-Sep-15 0:24
Herman<T>.Instance23-Sep-15 0:24 
SuggestionRe: How to display results based on employees manager and department Pin
Richard Deeming23-Sep-15 1:55
mveRichard Deeming23-Sep-15 1:55 
GeneralRe: How to display results based on employees manager and department Pin
samflex23-Sep-15 2:37
samflex23-Sep-15 2:37 
AnswerRe: How to display results based on employees manager and department Pin
F-ES Sitecore23-Sep-15 5:56
professionalF-ES Sitecore23-Sep-15 5:56 
GeneralRe: How to display results based on employees manager and department Pin
samflex23-Sep-15 17:36
samflex23-Sep-15 17:36 
GeneralRe: How to display results based on employees manager and department Pin
F-ES Sitecore23-Sep-15 21:57
professionalF-ES Sitecore23-Sep-15 21:57 
GeneralRe: How to display results based on employees manager and department Pin
samflex24-Sep-15 3:42
samflex24-Sep-15 3:42 
GeneralRe: How to display results based on employees manager and department Pin
F-ES Sitecore24-Sep-15 3:48
professionalF-ES Sitecore24-Sep-15 3:48 
QuestionHow to open javasript pop on button click Pin
Member 1200294722-Sep-15 1:34
Member 1200294722-Sep-15 1:34 
AnswerRe: How to open javasript pop on button click Pin
JHizzle22-Sep-15 2:47
JHizzle22-Sep-15 2:47 
AnswerRe: How to open javasript pop on button click Pin
F-ES Sitecore22-Sep-15 7:17
professionalF-ES Sitecore22-Sep-15 7:17 
QuestionAspdotnet webservice using in HTML with Javascript Pin
J.Ramanjaneyulu21-Sep-15 4:17
J.Ramanjaneyulu21-Sep-15 4:17 

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.