I have a page that uses a master page. In the content placeholder I have a update panel. In this update panel I am dynamically creating buttons. I need to be able to get the id from the sender object in the generic button event I have created.
I have tried to get the type of object by:
Type t = sender.GetType(), but The object comes back blank. I
I have a feeling that it's because I have the object in a bunch of parent controls. How would I get the id back from the sender in this scenario?
Thanks in advance!
Both have gotten me nowhere. Is there someth id back from the sender?