Click here to Skip to main content
15,879,095 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi
I have a problem with Asp.Net WebUserControl.

I have Create a dialog control and i want to use that dialog as alert and Confirm Dialog.

My Problem is :
1) How I can Auto register an event of the user control without difining it to Page_Init();

2) I there any way to call web user control event like

C#
dialog1.OnNoButtonClick += delegate {
            string d = "Manoj";
        };

3) Is there any way to use single web user control for multiple times


Thanks......
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900