Capture Button click event in Master page from Content page
Capture Button click event in Master page from Content page in c#
2 Answers
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 attend4days leftRegister
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Aug 4, 2016, 3:17 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Aug 4, 2016, 3:57 AM EDT
In your master page's code behind replace the protected keyword on the event handler to public.
In the code behind for the content page call the Master event handler as follows
I'm looking into calling the master pages event handler more directly