asp.net vb user control raising an event on the calling page
Posted
by jvcoach23
on Stack Overflow
See other posts from Stack Overflow
or by jvcoach23
Published on 2010-04-07T17:39:13Z
Indexed on
2010/04/07
17:53 UTC
Read the original article
Hit count: 258
i'm trying to learn about user controls. I created a user control that has a textbox and a button. What i'd like to be able to do is when i click the button in the user control, populate a label in the aspx page. I understand that i could just have a button on the page that uses some properties on the user control to get that information.. but i'd like to know how to do it with the button the user control.. the reason for this is the button is just an example.. a learning tool. if i can get this working, i'd likely be putting thing in the user control that might require this kind of passing information. Anyway.. i've found some c# examples that i tried to get working as vb.. but once started getting into the delegates and events.. well.. it made me turn to this post.
anyway.. hopefully someone can lend a hand.
© Stack Overflow or respective owner