How to add child control method on master page button click
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 attend4days leftRegister
Abhishek JainRank #1,062 · 1.8K reputationPosted Aug 28, 2013, 5:45 AM EDT
In your Master Page:
public partial class SiteMaster : System.Web.UI.MasterPage
public event EventHandler contentPageMethodEvent;
//In the Event Handler of your Button Add Following:
//if (contentPageMethodEvent != null)
Now on your Child Page do this:
Hope it helps....