Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

in C#, how do I find out if the sender is a Textbox or button, or not even a control but called form another function.

$
0
0

II have code that executes in a function depending on the type of sender.  Sometimes I call the function from another function, so I need to be able to discern between a sender that is a textbox and not.  How do I do that?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>