|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Event Handling QuestionHi guys,
I have an ASPX page with one custom control, and the custom control has a button in it. When the user clicks on the button in the custom control, I would like to call a method in the page that is parenting the custom control. Is there a way I can do this? Is there a way for the parent to detect that the button has been clicked? Thanks! Forch You should make your custom control raise its own custom event when it detects
the button was clicked. Here's a sample: http://samples.gotdotnet.com/quickstart/aspplus/doc/webctrlauthoring.aspx#exposingevts -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > Hi guys, > > I have an ASPX page with one custom control, and the custom control > has a button in it. > > When the user clicks on the button in the custom control, I would like > to call a method in the page that is parenting the custom control. > > Is there a way I can do this? Is there a way for the parent to detect > that the button has been clicked? > > Thanks! > > Forch >
DataGrid with edititemtemplate
What happened to Alignment property? Specifying Width and Height properties as percentages navigate through multipage hiddenfield / htmlInputHidden ? more than one webroot Getting the ApplicationInstance in webcontrol? Help Problems with ListBox Control Dropdownlist doesnot allow child control. Catch the page closing event |
|||||||||||||||||||||||