dynamic-controls

ASP.NET :Why my dynamically added event handler method is not firing in asp.net page

In my asp.net page codebehind,I am creating a button dynamically and adding a event handler to it.But when i set a breakpoint on the button click event(which i added in codebehind),its not hitting.Any idea why ? My code is here ASP.NET PAGE <form runat="Server" id="frm1"> <div id="divPaymentOptions" runat="Server"> </div> </form> ...