Tuesday, June 11, 2024

Tuesday, June 4, 2024

How to create event for user control

 public delegate void SignatureHandler(object sender, EventArgs e);


        public event SignatureHandler SignatureEvent;


        public delegate void SignatureJSHandler(object sender, EventArgs e);


        public event SignatureJSHandler SignatureJSEvent;


        public delegate void SendConfirmationHandler(object sender, EventArgs e);


        public event SendConfirmationHandler SendConfirmationEvent;


<uc1:DigitalSignatureButton runat="server" ID="DigitalSignatureButton" OnSignatureEvent="buttonSave_OnClick" OnSignatureJSEvent="buttonSaveJS_OnClick" />