Bind click event from button in masterpage from a page that implements the master

/ Published in: C#
Save to your folder(s)

Copy this code and paste it in your HTML
  1. Button btn = this.Master.FindControl("btnSave") as Button;
  2. btn.Click += new System.EventHandler(Save);

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.