Posted on: 9/11/2012 1:38:49 AM | Views : 225

Not as simple as the subject might make it sound.  I have a custom control class built up that is consumed regularly by other code in a web application.  The purpose of the class is display a question with an input and validation routines (client or server side) as configured in a database.  Works like a champ spinning up and filling a container control with these QuestionResponse controls.  Internal to QuestionResponse we have a segment that represents the input control.  Based on db config settings that can be any of a number of standard asp.net controls (TextBox (single or multiline or password mode), RadioButtonList, DropDownList, and so on).  Up until now none of them have had AutoPostBack = true.  The attempt now is to have a DropDownList that will raise an event to the consumer of the QuestionResponse control.  Here's what I have thus far inside the QuestionResponse class code:
//Event definition and handle ...

Go to the complete details ...