Re: adding event handler in user Control
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 17 May 2006 11:30:02 -0400
VMI,
In order to do this, the control has to either expose the combo box
publically as a property (at which point, you can wire up an event), or it
would have to expose an event from the combobox, and aggregate the event
itself so that the page can connect to it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"VMI" <VMI@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5BD08C1A-2076-4388-B861-2390A183613D@xxxxxxxxxxxxxxxx
My aspx has a user Control (a .ascx) that includes all the fields of an
address (add1, city, st, etc...). How can I add an event handler to a
comboBox inside the .ascx from within my aspx page? I just want to add
this
event handler to that instance of the comboBox.
Thanks.
.
- Prev by Date: Re: C# & Microsoft
- Next by Date: Re: log4net vs EntLib vs Roll my own
- Previous by thread: Font.GetHeight Method throws an ArgumentException
- Next by thread: Re: adding event handler in user Control
- Index(es):
Relevant Pages
|