How to handle the onClick or OnCheckedChanged Event for ASP.NET dynamatically created Button or Checkbox web form control?
I am a beginner of ASP.NET.
I can add Button or Checkbox control at design time, and handle the OnClick or OnCheckedChanged event without problem.
However, I really need to create Button or Checkbox controls at run time. In fact, I can do it without problem. My problem is how to handle the events for those dynamatically created controls. Can we do it? and if 'Yes', how?