Home > DeveloperSection > Forums > How to get current trigger control name in C#?
Simons Hood
Simons Hood

Total Post:70

Points:494
Posted on    March-06-2013 5:22 AM

 C# C# 
Ratings:


 1 Reply(s)
 1368  View(s)
Rate this:

Hi Everyone!

I want to get trigger control name in C#. Basically I want to track trigger name of control in winform in C#.

Please help me!

Thanks in advance!



AVADHESH PATEL

Total Post:604

Points:4228
Posted on    March-06-2013 7:54 AM

Hi Samuel!

You can try this way

string sControlName = ((Control)sender).Name.ToString();


Don't want to miss updates? Please click the below button!

Follow MindStick