Possible to detect which server control was clicked outside of it'shandlers?

B

Brad Wood

I have some code in the OnPreRender event that I don't want to execute
when a certain server control was clicked (by the time any of that
control's events fire it's too late). I can't see any way to get to such
data but it must be there...
 
B

Bruce Barker

except for <asp:button> and <asp:imagebutton> which do not use these fields
for postback. a safer way is to set a flag on the client handler, any check
it on the prerender.


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,044
Latest member
RonaldNen

Latest Threads

Top