Click here to Skip to main content
16,015,414 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Session Problem Pin
Yusuf14-Apr-09 11:05
Yusuf14-Apr-09 11:05 
GeneralRe: Session Problem Pin
Abhijit Jana14-Apr-09 19:24
professionalAbhijit Jana14-Apr-09 19:24 
QuestionMultiple events on post-back Pin
AumSingh14-Apr-09 1:16
professionalAumSingh14-Apr-09 1:16 
AnswerRe: Multiple events on post-back Pin
Abhijit Jana14-Apr-09 1:37
professionalAbhijit Jana14-Apr-09 1:37 
GeneralRe: Multiple events on post-back Pin
AumSingh14-Apr-09 2:51
professionalAumSingh14-Apr-09 2:51 
GeneralRe: Multiple events on post-back Pin
Abhijit Jana14-Apr-09 3:53
professionalAbhijit Jana14-Apr-09 3:53 
GeneralRe: Multiple events on post-back Pin
AumSingh14-Apr-09 4:13
professionalAumSingh14-Apr-09 4:13 
AnswerRe: Multiple events on post-back Pin
Colin Angus Mackay14-Apr-09 1:39
Colin Angus Mackay14-Apr-09 1:39 
om pr wrote:
Can anyone tell me what's going wrong and how to solve the issue?


I suspect that what is happening is that when you go back the browser remembers the state of the controls when you originally left the page and sets them to those values. However, this time the value change for the drop down does not trigger a post back.

When you press the button the postback is triggered. The server then compares what is in the viewstate with what the controls now look like and raise events for any changes. Because it sees two changes (the drop down and the button click) those events are raised.

A possible route to solving the issue is to turn off the viewstate (which also means you won't get change events, although you will still get button click events) and detect the drop down change yourself rather than rely on ASP.NET.


GeneralRe: Multiple events on post-back Pin
AumSingh14-Apr-09 2:55
professionalAumSingh14-Apr-09 2:55 
GeneralRe: Multiple events on post-back Pin
Colin Angus Mackay14-Apr-09 3:00
Colin Angus Mackay14-Apr-09 3:00 
GeneralRe: Multiple events on post-back Pin
AumSingh14-Apr-09 3:16
professionalAumSingh14-Apr-09 3:16 
AnswerRe: Multiple events on post-back Pin
Yusuf14-Apr-09 12:58
Yusuf14-Apr-09 12:58 
QuestionProblem with ImageButton,Textbox position!! Pin
Sr...Frank14-Apr-09 0:58
Sr...Frank14-Apr-09 0:58 
AnswerRe: Problem with ImageButton,Textbox position!! Pin
Abhijit Jana14-Apr-09 1:39
professionalAbhijit Jana14-Apr-09 1:39 
GeneralRe: Problem with ImageButton,Textbox position!! [modified] Pin
Sr...Frank14-Apr-09 2:02
Sr...Frank14-Apr-09 2:02 
QuestionHow I can convert code in submit button code to a WebMethod in WebService? Pin
Saba0214-Apr-09 0:17
Saba0214-Apr-09 0:17 
AnswerRe: How I can convert code in submit button code to a WebMethod in WebService? Pin
Abhijit Jana14-Apr-09 1:45
professionalAbhijit Jana14-Apr-09 1:45 
GeneralRe: How I can convert code in submit button code to a WebMethod in WebService? [modified] Pin
Saba0214-Apr-09 2:20
Saba0214-Apr-09 2:20 
QuestionResponse Headers Pin
grewin14-Apr-09 0:06
grewin14-Apr-09 0:06 
AnswerRe: Response Headers Pin
pra.chaudhari14-Apr-09 3:07
pra.chaudhari14-Apr-09 3:07 
QuestionAutomatic Email Notification Pin
Ra-one14-Apr-09 0:04
Ra-one14-Apr-09 0:04 
AnswerRe: Automatic Email Notification Pin
Abhijit Jana14-Apr-09 0:20
professionalAbhijit Jana14-Apr-09 0:20 
Questionpassing parameters using POST from an ASPX page to different page Pin
shabya14-Apr-09 0:00
shabya14-Apr-09 0:00 
AnswerRe: passing parameters using POST from an ASPX page to different page Pin
pra.chaudhari14-Apr-09 2:53
pra.chaudhari14-Apr-09 2:53 
GeneralRe: passing parameters using POST from an ASPX page to different page Pin
binarymax14-Apr-09 3:28
binarymax14-Apr-09 3:28 

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.