Click here to Skip to main content
15,884,537 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net Mobile Pin
Morgs Morgan7-Aug-11 23:29
Morgs Morgan7-Aug-11 23:29 
GeneralRe: asp.net Mobile Pin
netJP12L8-Aug-11 4:18
netJP12L8-Aug-11 4:18 
GeneralRe: asp.net Mobile Pin
Morgs Morgan9-Aug-11 20:29
Morgs Morgan9-Aug-11 20:29 
QuestionReceive stock quotes asp.net Pin
Rupert Koan2-Aug-11 3:34
Rupert Koan2-Aug-11 3:34 
AnswerRe: Receive stock quotes asp.net Pin
David Mujica2-Aug-11 3:56
David Mujica2-Aug-11 3:56 
AnswerRe: Receive stock quotes asp.net Pin
R. Giskard Reventlov2-Aug-11 7:20
R. Giskard Reventlov2-Aug-11 7:20 
GeneralRe: Receive stock quotes asp.net Pin
Rupert Koan2-Aug-11 9:47
Rupert Koan2-Aug-11 9:47 
QuestionButton loses link to event after postback Pin
Dominick Marciano1-Aug-11 11:01
professionalDominick Marciano1-Aug-11 11:01 
On my page I have a drop down list that is populated with a list of dates that a student took classes on; the student's ID is passed to the page through a query string. There are also text boxes/radio button lists and an update button. Now when the page first loads, if I fill out all the information and hit the update button everything works fine. Even after the update, if I change some of the fields and hit the update button again it still works fine.

However if I select a different date from the drop down the page is posted back and the information for that date is loaded. Now if I try to click the update button nothing gets update. I tried setting a break point on the cmdUpdate_Click method but it never fires. If I leave some of the required fields blank though I do get the proper validation error messages. It should be noted that the information fields are inside an update panel with the drop down list selected index change event as a trigger.

I have tried place the button, and the drop down, inside the panel, outside the panel, setting different triggers, but nothing works. Through all the test I have done it comes down to that the update button works fine, unless an item is selected from the drop down list and the page is posted back. In this case the update button loses it's connection to its method. This seems odd because the cmdUpdate_Click method has a handles clause cmdUpdate_Click(...) Handles cmdUpdate.Click. I have tried adding a AddHandler call to almost every method I can think up (PageLoad,PageInit, PagePrerender,ddlClassDates_SelectedIndexChanged,etc.) but it still doesn't work.

Is there some weird bug in ASP.NET that a button loses its functionality when a page post back is initiated by another control and NOT by the button itself? Any help would be greatly appreciated because I have tried everything and nothing seems to work. I have my full code posted on another site and I won't repost it here due to it's length but if you would like to see it's here.

Thanks in advance for any help you can provide.
QuestionConfigurationManager.GetSection method Pin
indian1431-Aug-11 9:38
indian1431-Aug-11 9:38 
AnswerRe: ConfigurationManager.GetSection method Pin
Shameel4-Aug-11 23:16
professionalShameel4-Aug-11 23:16 
QuestionError checking in application Pin
vanikanc1-Aug-11 2:58
vanikanc1-Aug-11 2:58 
AnswerRe: Error checking in application Pin
Not Active1-Aug-11 3:14
mentorNot Active1-Aug-11 3:14 
QuestionChanging Table's Image [modified] Pin
Eddie19871-Aug-11 2:57
Eddie19871-Aug-11 2:57 
AnswerRe: Changing Table's Image [modified] Pin
Not Active1-Aug-11 3:18
mentorNot Active1-Aug-11 3:18 
GeneralRe: Changing Table's Image Pin
Eddie19871-Aug-11 3:23
Eddie19871-Aug-11 3:23 
Questionremoving aspx extension Pin
benams31-Jul-11 22:44
benams31-Jul-11 22:44 
Questiononfocus postback problem Pin
minckle31-Jul-11 12:06
minckle31-Jul-11 12:06 
AnswerRe: onfocus postback problem Pin
Not Active31-Jul-11 13:24
mentorNot Active31-Jul-11 13:24 
GeneralRe: onfocus postback problem [modified] Pin
minckle1-Aug-11 13:30
minckle1-Aug-11 13:30 
GeneralRe: onfocus postback problem Pin
Not Active1-Aug-11 14:24
mentorNot Active1-Aug-11 14:24 
Questionhow to get previous page and details remain Pin
Cyberoxy31-Jul-11 9:50
Cyberoxy31-Jul-11 9:50 
AnswerRe: how to get previous page and details remain Pin
Not Active31-Jul-11 13:22
mentorNot Active31-Jul-11 13:22 
AnswerRe: how to get previous page and details remain Pin
Bernhard Hiller31-Jul-11 19:45
Bernhard Hiller31-Jul-11 19:45 
QuestionHow to replace image onmouseover Pin
Eddie198730-Jul-11 9:12
Eddie198730-Jul-11 9:12 
AnswerRe: How to replace image onmouseover Pin
Shahriar Iqbal Chowdhury/Galib31-Jul-11 4:16
professionalShahriar Iqbal Chowdhury/Galib31-Jul-11 4:16 

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.