Click to See Complete Forum and Search --> : Identify which web control causes postback


skinnyreptile
May 20th, 2004, 07:30 PM
I have a button which causes a postback when clicked. I also have group of radio buttons, I selected the "autopostback" option from "Property" which will cause postback too. Is there anyway to tell which web control(button or radio button) causes postback in the Page_Load() function?
Thank you for your help.

Andy Tacker
May 21st, 2004, 03:18 AM
you can get enumerator for all controls in web page and check for autopostback property, which is boolean.