How to generate Page Oninit event
-
Hi all, I am using aspnet 2.0 with C#.NET as language. Can any on pls help me out generating an init event . I saw some articles which say directly write a n event in code behind as protected override void Page_OnInit() { .... .... } but it gives an error Error DBControls.Page_Init()': no suitable method found to override.. what might be the problem?
-
Hi all, I am using aspnet 2.0 with C#.NET as language. Can any on pls help me out generating an init event . I saw some articles which say directly write a n event in code behind as protected override void Page_OnInit() { .... .... } but it gives an error Error DBControls.Page_Init()': no suitable method found to override.. what might be the problem?
check this out Page_Init()
-----
-
check this out Page_Init()
-----
-
try this
protected override void OnInit(EventArgs e) { //custom code base.OnInit(e); }
also check this article-----