Click here to Skip to main content
15,914,322 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: winform login control Pin
Blumen2-May-07 3:05
Blumen2-May-07 3:05 
GeneralRe: winform login control Pin
daviperke2-May-07 3:10
daviperke2-May-07 3:10 
AnswerRe: winform login control Pin
Tarakeshwar Reddy2-May-07 3:39
professionalTarakeshwar Reddy2-May-07 3:39 
GeneralRe: winform login control Pin
daviperke2-May-07 3:46
daviperke2-May-07 3:46 
GeneralRe: winform login control Pin
Tarakeshwar Reddy2-May-07 4:15
professionalTarakeshwar Reddy2-May-07 4:15 
AnswerRe: winform login control Pin
Tarakeshwar Reddy2-May-07 4:24
professionalTarakeshwar Reddy2-May-07 4:24 
QuestionPaging in a grid view troubles Pin
Senseicads2-May-07 2:27
Senseicads2-May-07 2:27 
AnswerRe: Paging in a grid view troubles Pin
kubben2-May-07 2:56
kubben2-May-07 2:56 
I am guessing there is a pretty good chance that you are doing an initial load in the page load event? If you have code like that you need to check to see if the page load is a postback or not. You would only want to call that code on the first page load, not on a post back which is what happens when you page. So check the IsPostback property of the page. You code would be something like:
If (!IsPostBack)
{
//Initial bind code here
}

Hope that helps.
Ben
GeneralRe: Paging in a grid view troubles Pin
Senseicads2-May-07 3:18
Senseicads2-May-07 3:18 
QuestionAccess denied...... Pin
NetBot2-May-07 2:19
NetBot2-May-07 2:19 
AnswerRe: Access denied...... Pin
Christian Graus2-May-07 2:34
protectorChristian Graus2-May-07 2:34 
GeneralRe: Access denied...... Pin
NetBot2-May-07 2:54
NetBot2-May-07 2:54 
GeneralRe: Access denied...... Pin
Christian Graus2-May-07 10:29
protectorChristian Graus2-May-07 10:29 
QuestionGridview checkbox problems Pin
pauliehaha2-May-07 1:21
pauliehaha2-May-07 1:21 
AnswerRe: Gridview checkbox problems Pin
Senseicads2-May-07 2:37
Senseicads2-May-07 2:37 
GeneralRe: Gridview checkbox problems Pin
pauliehaha2-May-07 3:22
pauliehaha2-May-07 3:22 
AnswerRe: Gridview checkbox problems Pin
RSArockiam2-May-07 3:17
RSArockiam2-May-07 3:17 
GeneralRe: Gridview checkbox problems Pin
pauliehaha2-May-07 3:27
pauliehaha2-May-07 3:27 
Questionhow to show cursor on selected row of a grid in postback [modified] Pin
Sachin M Narangale2-May-07 1:10
Sachin M Narangale2-May-07 1:10 
AnswerRe: how to show cursor on selected row of a grid in postback Pin
N a v a n e e t h2-May-07 3:32
N a v a n e e t h2-May-07 3:32 
QuestionSession value is Reset in IE 7 Pin
Blumen2-May-07 0:23
Blumen2-May-07 0:23 
AnswerRe: Session value is Reset in IE 7 Pin
Guffa2-May-07 1:13
Guffa2-May-07 1:13 
QuestionRe: Session value is Reset in IE 7 Pin
Blumen2-May-07 1:56
Blumen2-May-07 1:56 
AnswerRe: Session value is Reset in IE 7 Pin
Psycho-*Coder*-Extreme2-May-07 2:10
Psycho-*Coder*-Extreme2-May-07 2:10 
GeneralRe: Session value is Reset in IE 7 Pin
Blumen2-May-07 2:33
Blumen2-May-07 2:33 

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.