The button on which user clicks
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vishal GilbileRank #268 · 9.4K reputationPosted Apr 6, 2013, 11:38 PM EDT
Your question is not that clear but what i've understood is that you want to return button name on click of it.
you could try the following.
Button b=(Button)sender;
return b.Name;
Hope that solves your problem.
With Regards,
Vishal Gilbile.