Click here to Skip to main content
15,920,005 members
Home / Discussions / C#
   

C#

 
Questioncombobox Pin
gsvgnani12-Jul-06 4:24
gsvgnani12-Jul-06 4:24 
AnswerRe: combobox Pin
Christian Graus12-Jul-06 4:29
protectorChristian Graus12-Jul-06 4:29 
AnswerClear the combo box? Pin
Ennis Ray Lynch, Jr.12-Jul-06 4:37
Ennis Ray Lynch, Jr.12-Jul-06 4:37 
QuestionBrowser - Show Friendly HTTP Error Messages Pin
nlarson1112-Jul-06 4:18
nlarson1112-Jul-06 4:18 
QuestionCatching Dynamic Button Events (C# / ASP.NET) Pin
StewartS12-Jul-06 4:11
StewartS12-Jul-06 4:11 
AnswerRe: Catching Dynamic Button Events (C# / ASP.NET) Pin
Josh Smith12-Jul-06 4:26
Josh Smith12-Jul-06 4:26 
GeneralRe: Catching Dynamic Button Events (C# / ASP.NET) Pin
jabberman12-Jul-06 4:50
jabberman12-Jul-06 4:50 
AnswerRe: Catching Dynamic Button Events (C# / ASP.NET) Pin
Christian Graus12-Jul-06 4:30
protectorChristian Graus12-Jul-06 4:30 
The basic problem you have here is page life cycle. Between page init and page load, a control tree is built. After page load, this tree is populated with events from viewstate, which are then called. If your button does not exist prior to page load, it will not be in the tree, and so the event is lost.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
GeneralRe: Catching Dynamic Button Events (C# / ASP.NET) Pin
jabberman12-Jul-06 4:45
jabberman12-Jul-06 4:45 
GeneralRe: Catching Dynamic Button Events (C# / ASP.NET) Pin
Christian Graus12-Jul-06 4:47
protectorChristian Graus12-Jul-06 4:47 
GeneralRe: Catching Dynamic Button Events (C# / ASP.NET) Pin
jabberman20-Jul-06 5:22
jabberman20-Jul-06 5:22 
GeneralRe: Catching Dynamic Button Events (C# / ASP.NET) Pin
Christian Graus20-Jul-06 9:43
protectorChristian Graus20-Jul-06 9:43 
QuestionFirst record displayed in list/combobox shows "System.Data.DataRowView" instead of the value Pin
Glen Harvy12-Jul-06 3:26
Glen Harvy12-Jul-06 3:26 
AnswerRe: First record displayed in list/combobox shows "System.Data.DataRowView" instead of the value Pin
Josh Smith12-Jul-06 3:42
Josh Smith12-Jul-06 3:42 
GeneralRe: First record displayed in list/combobox shows "System.Data.DataRowView" instead of the value Pin
Glen Harvy12-Jul-06 12:40
Glen Harvy12-Jul-06 12:40 
QuestionListView Sorting Problem [modified] Pin
Abhijeet Bhamare12-Jul-06 3:17
Abhijeet Bhamare12-Jul-06 3:17 
AnswerRe: ListView Sorting Problem Pin
Josh Smith12-Jul-06 3:47
Josh Smith12-Jul-06 3:47 
AnswerRe: ListView Sorting Problem Pin
Andrew Lygin12-Jul-06 18:21
Andrew Lygin12-Jul-06 18:21 
Questionworking with Excel Pin
DJPaul12-Jul-06 3:02
DJPaul12-Jul-06 3:02 
AnswerRe: working with Excel Pin
alexey N12-Jul-06 21:24
alexey N12-Jul-06 21:24 
Questionread xml file Pin
Mohammad Daba'an12-Jul-06 2:55
Mohammad Daba'an12-Jul-06 2:55 
AnswerRe: read xml file Pin
stancrm12-Jul-06 2:57
stancrm12-Jul-06 2:57 
GeneralRe: read xml file Pin
Mohammad Daba'an12-Jul-06 3:30
Mohammad Daba'an12-Jul-06 3:30 
GeneralRe: read xml file Pin
stancrm12-Jul-06 3:55
stancrm12-Jul-06 3:55 
Questiondownlaod music file & play it in c#.net Pin
Bibhu Sh. Panigrahi12-Jul-06 2:48
Bibhu Sh. Panigrahi12-Jul-06 2:48 

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.