Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.webcontrols
Which control initiated post back
Mike Malone
2/19/2004 6:08:00 PM
Is there a way in the post_back method to detect which control caused the postback?
- mike
1 Answer
Alvin Bruney
2/21/2004 4:51:00 AM
0
Yes this information is wrapped in the sender object. If for example, it came from a textbox, you can cast sender to a textbox testing to see whether it is null or not
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl...
"Mike Malone" <mikemalone@REMOVE_CAPSconsultant.com> wrote in message news:OhItENx9DHA.1472@TK2MSFTNGP11.phx.gbl...
Is there a way in the post_back method to detect which control caused the postback?
- mike
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Which control initiated post back
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password