|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
dynamic controlsadding a handler to it Dim bdp9 As BasicFrame.WebControls.BasicDatePicker = New BasicFrame.WebControls.BasicDatePicker bdp9.DisplayType = BasicFrame.WebControls.DisplayType.Button bdp9.SelectedDate = DateTime.Today bdp9.AutoPostBack = True AddHandler bdp9.SelectionChanged, AddressOf test What I would like to have happen is for the event code "test" to get processed before the page_init code fires again on a postback Any ideas? Thanks, Paul Paul,
A partial help for you. If your adding a handler manually you have to add it on every postback or the event won't fire. Is that the new web site template stuff your using? Good Luck DWS Show quoteHide quote > I'm creating a calendar control in Page_Init, setting it's date, and > adding a handler to it > > > > bdp9.DisplayType = BasicFrame.WebControls.DisplayType.Button > bdp9.SelectedDate = DateTime.Today > > bdp9.AutoPostBack = True > > AddHandler bdp9.SelectionChanged, AddressOf test > > What I would like to have happen is for the event code "test" to get > processed before the page_init code fires again on a postback > > Any ideas? > Thanks, > Paul > >
"Cannot have multiple items selected in a DropDownList" Error
edit attribute values of a web control just before control rendered to the page (control's Load even events inheritance RE: Checkbox data binding on Checked property Accessing FormView template controls clicked event never fires Atlas UpdatePanel with Webparts validating user control How to reach the object connected to repeater Dynamically move control. |
|||||||||||||||||||||||