Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am new to ASP.NET and have question regarding code-behind.

I created a code-behide file with a sub page_load. When I ran my code it did not work. However, after I replaced sub page_load with overridable sub page_load it worked. Do I have to use overridable sub page_load everytime in my code-behind even if I don't intend to override it in my presentation code? I don't understand why it didn't work without the overridable. Can someone explain?

Posted

Oh, I re-read the post from Robby. I added 'Handles MyBase.Load' now it works fine.

 

The ASP.NET Unleashed book that I'm using is a good book but it isn't explaining everything. Maybe I'm playing too much before I get a chance to get to read what I need. Most likely I be posting often in the next few weeks.

Thanks,

 

Robby

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...