Hi
I want if user clicked on Update button then Update value should be passed to Controller.
If Delete clicked then Delete value should be passed to Controller
Thanks
Hi
I want if user clicked on Update button then Update value should be passed to Controller.
If Delete clicked then Delete value should be passed to Controller
Thanks
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
Pranam BhatRank #500 · 4.9K reputationPosted Jun 7, 2021, 2:55 AM EDT
Controller:
Ramco RamcoRank #462 · 5.4K reputationPosted Jun 7, 2021, 10:30 PM EDT
Hi
I want if user clicked on Update button then value "U" should be passed to Controller.
If user clicked on Add button then value "A" should be passed to Controller. Is it possible thru ViewBag or ViewData
Thanks
Rajendran SRank #2,222 · 632 reputationPosted Jun 8, 2021, 12:59 PM EDT