zhuansun
asked on
How to handle the onClick or OnCheckedChanged Event for ASP.NET dynamatically created Button or Checkbox web form control?
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?
I can to it with ASP 3.0 and JavaScript. But I want to do it in ASP.NET
Thanks.
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?
I can to it with ASP 3.0 and JavaScript. But I want to do it in ASP.NET
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.