call a parent button event from child event in windows c# and asp.net c#

Posted by Bandarugopal under C# on 10/22/2009 | Views : 4394 | Status : [Member] | Replies : 8
I have A user Control save update Delete This Buttons Sholud Save Data On Each Form When OPens Using Delegates Or Events In windows c#




Responses

Posted by: Tridev_2005 on: 10/22/2009 [Member] Starter

Up
0
Down
Try this link

http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=19140

Bandarugopal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 10/23/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
What is your Problem ?


Thank you for posting at Dotnetfunda
[Administrator]

Bandarugopal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandarugopal on: 10/23/2009 [Member] Starter

Up
0
Down
I HAve A User Control This User Control Should Be Acessed By All Child Forms .THis User Control HAs Save Update Delete
When Form2 OPens And Clicks Save Button It Should Save Form2 Data
When Form3 OPens And Clicks Save Button It Should Save Form3 Data
How TO Do This Functionality
I Need To Use Delegates Or Events Functionality


Bandarugopal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 10/23/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
If i understand you correctly, you say you have a usercontrol that saves, delete and Update and you want to add it in all forms "Form1", "form2" and Form3"

?



Thank you for posting at Dotnetfunda
[Administrator]

Bandarugopal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandarugopal on: 10/23/2009 [Member] Starter

Up
0
Down
Thanks This User Control Should Save Form1 Data , Form2 Data ,Form 3 DAta Etc

Thanks

Bandarugopal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 10/23/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
if this is a ASP.NET Project, why dont you just Drag and drop the Control in all these Forms ?


Thank you for posting at Dotnetfunda
[Administrator]

Bandarugopal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandarugopal on: 10/23/2009 [Member] Starter

Up
0
Down
I am Doing These In windows c# I Sall Be Crating A user Control And I Shall Drag These USer Control Form Tool Box TO Form

Bandarugopal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandarugopal on: 10/23/2009 [Member] Starter

Up
0
Down
I Need Coding Pls Urgent

Bandarugopal, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response