I have a datalist control which some controls(ex: button) are in it. I want to write some code into click event of button which is in the datalist control. But in the code behind page I can’t see the name of controls into datalist. How can I solve this problem?
Share
If you don’t want to add a handler to all the child events, you could instead add your code to the OnItemCommand.