Override base page class


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



Copy this code and paste it in your HTML
  1. public class MyCustomBasePage: System.Web.UI.Page
  2. {
  3. protected override void OnInit(EventArgs e)
  4. {
  5.  
  6. //your logic here.
  7. base.OnInit(e);
  8. }
  9. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.