We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

UserControl Creation Event Handling

Hi I am creating a Usercontrol using a currencytextBox and a Button, popupcontainer. Some panel with controls are displayed when the click the Button. SOme value is filled up in popupcontainer closeup event to ctextbox. Now i want to have the closeup event at usercontrol level. the person who is using this control want to have own event code for closeup. Please help me Regards Rajaraman

3 Replies

RP Ramesh Praveen Syncfusion Team February 19, 2003 09:27 AM

Hi, I see that you are aware of the CloseUp event in the PopupControlContainer. Looks like you should first capture this event in your UserControl, update your currency and then fire your own "CloseUp" event (defined in the UserControl) that the user of the UserControl can listen to. Let me know if I missed something. Regards, Praveen


RA Rajaraman February 19, 2003 09:45 AM

Hi Praveen yes you are right partly, i want a single event which should be in usercontrol handles both popup closeup and usercontrol closeup. any code snippet will help me understand your direction clearly. thanks rajaraman > Hi, > > I see that you are aware of the CloseUp event in the PopupControlContainer. Looks like you should first capture this event in your UserControl, update your currency and then fire your own "CloseUp" event (defined in the UserControl) that the user of the UserControl can listen to. > > Let me know if I missed something. > > Regards, > Praveen


RP Ramesh Praveen Syncfusion Team February 20, 2003 02:19 PM

Hi, I am sorry, could you please give me a sample and give me more information? I don't understand what you mean here: "a single event which should be in usercontrol handles both popup closeup and usercontrol closeup." An event cannot handle another event. Please elaborate. Regards, Praveen

Loader.
Live Chat Icon For mobile
Up arrow icon