Click here to Skip to main content
15,915,319 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwhat is the similar webpart that i can use as a pageviewer Pin
prasadbuddhika21-Jun-09 19:51
prasadbuddhika21-Jun-09 19:51 
AnswerRe: what is the similar webpart that i can use as a pageviewer Pin
prasadbuddhika21-Jun-09 20:42
prasadbuddhika21-Jun-09 20:42 
QuestionTextbox value in Update panel Pin
Girish48121-Jun-09 19:06
Girish48121-Jun-09 19:06 
AnswerRe: Textbox value in Update panel Pin
padmanabhan N21-Jun-09 19:35
padmanabhan N21-Jun-09 19:35 
GeneralRe: Textbox value in Update panel Pin
Girish48121-Jun-09 19:53
Girish48121-Jun-09 19:53 
GeneralRe: Textbox value in Update panel Pin
padmanabhan N21-Jun-09 20:37
padmanabhan N21-Jun-09 20:37 
GeneralRe: Textbox value in Update panel Pin
Girish48121-Jun-09 21:04
Girish48121-Jun-09 21:04 
GeneralRe: Textbox value in Update panel Pin
padmanabhan N21-Jun-09 22:19
padmanabhan N21-Jun-09 22:19 
with pleasure,
The postback is doing all the things. The loop your write inside the postback will fire only when the page is loaded and the value will be maintained and the loop wont be executed after that. So, if we write the code after the loop will be fired in even and every postback. just keep the breakpoint in the page load and check. You can see for each and every postback the pageload event is fired.

So each and every time the button click it fires the page load first and then the button event. So, the showdata() will clears your modification and the original data will be set. For this only you got the old values.
I hope you understand now.

Padmanabhan

GeneralRe: Textbox value in Update panel Pin
Girish48121-Jun-09 23:39
Girish48121-Jun-09 23:39 
GeneralRe: Textbox value in Update panel Pin
padmanabhan N22-Jun-09 0:03
padmanabhan N22-Jun-09 0:03 
Question.net database connectivity problem in visual studio Pin
Sundar 200921-Jun-09 18:52
Sundar 200921-Jun-09 18:52 
AnswerRe: .net database connectivity problem in visual studio Pin
padmanabhan N21-Jun-09 19:01
padmanabhan N21-Jun-09 19:01 
AnswerRe: .net database connectivity problem in visual studio Pin
Abhijit Jana21-Jun-09 19:36
professionalAbhijit Jana21-Jun-09 19:36 
Questionprinting crystal report viewer in visual studio.net [modified] Pin
iranban21-Jun-09 8:33
iranban21-Jun-09 8:33 
Questionlogin using sql table and disable certain options according 2 de user... Pin
<<Tash18>>20-Jun-09 23:25
<<Tash18>>20-Jun-09 23:25 
AnswerRe: login using sql table and disable certain options according 2 de user... Pin
dan!sh 20-Jun-09 23:32
professional dan!sh 20-Jun-09 23:32 
AnswerRe: login using sql table and disable certain options according 2 de user... Pin
Manas Bhardwaj20-Jun-09 23:49
professionalManas Bhardwaj20-Jun-09 23:49 
GeneralRe: login using sql table and disable certain options according 2 de user... Pin
<<Tash18>>21-Jun-09 0:02
<<Tash18>>21-Jun-09 0:02 
GeneralRe: login using sql table and disable certain options according 2 de user... Pin
dan!sh 21-Jun-09 0:08
professional dan!sh 21-Jun-09 0:08 
GeneralRe: login using sql table and disable certain options according 2 de user... Pin
Manas Bhardwaj21-Jun-09 0:11
professionalManas Bhardwaj21-Jun-09 0:11 
AnswerRe: login using sql table and disable certain options according 2 de user... Pin
Christian Graus21-Jun-09 9:57
protectorChristian Graus21-Jun-09 9:57 
Questionadd dynamic button Pin
polycom12320-Jun-09 22:21
polycom12320-Jun-09 22:21 
AnswerRe: add dynamic button Pin
dan!sh 20-Jun-09 23:25
professional dan!sh 20-Jun-09 23:25 
AnswerRe: add dynamic button Pin
Abhijit Jana20-Jun-09 23:28
professionalAbhijit Jana20-Jun-09 23:28 
GeneralRe: add dynamic button Pin
polycom12321-Jun-09 0:41
polycom12321-Jun-09 0:41 

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.