usercontrol - events question

G

Guest

Hi all,

I have a UserControl that contains a Textbox control. When the value of the
textbox changes I would like to fire an event server side that would call a
method in the host aspx page and not in the ascx page. Is this possible? I
know the textbox has a valuechange event right? But how can I make it call a
method in the host aspx page?

TIA!
 
B

bruce barker

your user control should implement an event, that it raises when it gets
the textbox onchange event. it could also expose the textbox onchange
event as a global property.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top