J
John Smith
How can I find out which control performed PostBack?
I have put this code inside my Page_Load event:
Response.Write(Page.Request.Params.Get("__EVENTTARGET"))
but it doesn't write to response anything when I click on the button inside
DataGrid (my asp:Button is located inside my template column togrther with
my asp:TextBox). It works fine for DropDownList, which is also inside
template column inside DataGrid.
I have put this code inside my Page_Load event:
Response.Write(Page.Request.Params.Get("__EVENTTARGET"))
but it doesn't write to response anything when I click on the button inside
DataGrid (my asp:Button is located inside my template column togrther with
my asp:TextBox). It works fine for DropDownList, which is also inside
template column inside DataGrid.