views:

113

answers:

1

hi,

        if (Page.IsPostBack)
        {
           //here I need  to know which control causes the postback
        }

Thanks

+3  A: 

See this posting

Get control name in Page_Load event which make the post back

rahul
It's often better to include the main code sample (as you had before your edit) in case the page you've linked to ever gets taken down, by all means keep the link to the article as well :)
Zhaph - Ben Duguid
Thanks.........
Muhammad Akhtar