Click here to Skip to main content
15,919,500 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Getting the username of the person who logged into the system from asp.net page Pin
dreamaway82027-May-09 10:59
dreamaway82027-May-09 10:59 
QuestionUploading data to an online database Pin
breakoutfoo27-May-09 6:13
breakoutfoo27-May-09 6:13 
AnswerRe: Uploading data to an online database Pin
David Mujica27-May-09 8:02
David Mujica27-May-09 8:02 
AnswerRe: Uploading data to an online database Pin
dptalt27-May-09 8:07
dptalt27-May-09 8:07 
QuestionJava script and updating the database Pin
dptalt27-May-09 5:36
dptalt27-May-09 5:36 
AnswerRe: Java script and updating the database Pin
Baran M27-May-09 8:32
Baran M27-May-09 8:32 
GeneralRe: Java script and updating the database Pin
dptalt27-May-09 8:53
dptalt27-May-09 8:53 
GeneralRe: Java script and updating the database Pin
Baran M27-May-09 18:18
Baran M27-May-09 18:18 
you know that,

When page loads the code behind queries the database and populates some asp labels.

and you are right,

when the page reloads before the click event code runs the new values of the labels are replaced with original values from the server.

So populate some asp labels in page_load if and if only is not a page postback.

like,

if(!ispostback)
{
//populate some asp labels
}

hope it helps Smile | :)
QuestionHow To Get AM and P.M is extension of this control Pin
axman_podili@yahoo.co.in27-May-09 5:23
axman_podili@yahoo.co.in27-May-09 5:23 
AnswerRe: How To Get AM and P.M is extension of this control Pin
padmanabhan N27-May-09 18:42
padmanabhan N27-May-09 18:42 
Questiongridview Pin
jainiraj27-May-09 5:17
jainiraj27-May-09 5:17 
AnswerRe: gridview Pin
_AK_27-May-09 6:06
_AK_27-May-09 6:06 
AnswerRe: gridview Pin
Baran M27-May-09 6:08
Baran M27-May-09 6:08 
Questionhow to navigate tabs in tabpanel Pin
axman_podili@yahoo.co.in27-May-09 4:35
axman_podili@yahoo.co.in27-May-09 4:35 
QuestionUsing a common Master page across various applications hosted in IIS Pin
Vipul Mehta27-May-09 4:34
Vipul Mehta27-May-09 4:34 
AnswerRe: Using a common Master page across various applications hosted in IIS Pin
Baran M27-May-09 18:31
Baran M27-May-09 18:31 
GeneralRe: Using a common Master page across various applications hosted in IIS Pin
Baran M27-May-09 18:52
Baran M27-May-09 18:52 
QuestionCan we assign control to validate as Label? Pin
Pawan Kiran27-May-09 4:29
Pawan Kiran27-May-09 4:29 
AnswerRe: Can we assign control to validate as Label? Pin
DJ Matthews27-May-09 6:31
DJ Matthews27-May-09 6:31 
GeneralRe: Can we assign control to validate as Label? Pin
Pawan Kiran27-May-09 23:06
Pawan Kiran27-May-09 23:06 
AnswerRe: Can we assign control to validate as Label? Pin
DJ Matthews28-May-09 3:07
DJ Matthews28-May-09 3:07 
GeneralRe: Can we assign control to validate as Label? Pin
Pawan Kiran28-May-09 22:40
Pawan Kiran28-May-09 22:40 
Questionhow to get the count Pin
Anjani Poornima27-May-09 3:24
Anjani Poornima27-May-09 3:24 
AnswerRe: how to get the count Pin
padmanabhan N27-May-09 3:35
padmanabhan N27-May-09 3:35 
GeneralRe: how to get the count Pin
Anjani Poornima27-May-09 3:46
Anjani Poornima27-May-09 3:46 

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.