Ask a Question related to ASP.NET General, Design and Development.
-
Aaron Chorpenning #1
Re: How to determine Control that caused Postback?
My event target is blank. Why would it be blank? I put a value in for
the CommandArgument and CommandName.
I am using the following syntax...
Request["__EVENTARGUMENT"]
and
Request["__EVENTTARGET"]
they are blank in the Page_load function
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Aaron Chorpenning Guest
-
Determining What Control Caused The PostBack
I have a DataList that I was having trouble getting the events for. After a bit of help, I realized that I needed to put the databinding inside an... -
How to determine which control in a template column was clicked...
I have the following datagrid with two template columns. Can someone tell he how I would know which "imgContacts1" was clicked and what the onclick... -
Did my control caused the postback
You want to know it on Page or in the control itself? If your control implements IPostBackEventHandler, you could override RaisePostBackEvent on... -
What Control Caused the PostBack?
Is there any way to dynamically get the name of the control that caused the postback? Since SmartNav is not working for me I'm trying to implement a... -
How to see what caused PostBack
I have few buttons on a page. In Page_Load I would like to determine which one caused post back. How to do?



Reply With Quote

