ASP.NET Event handling

D

David Norris

I have an edit control that handles text change events and a link button that
handles click events. If the user changes the text in the edit control but
posts back by clicking on the link button I need to be able to ignore the
text changed event. Problem is the text changed event gets raised first and
then the link button click event gets raised. I need a way to determine at
page load or even at the text changed event handler whether or not the link
button click event will get raised. Does anyone know of a way to identify
which web control events will get raised at post back prior to the time that
the event handlers themselves get invoked?

Thanks,
 

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

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,742
Latest member
AshliMayer

Latest Threads

Top