A
antonyliu2002
Right now I put my VB code in the aspx pages. I would prefer to use
codebehind, especially many of my VB functions may be shared across
multiple aspx pages.
I've tried a few pages with codebehind by follwing some examples on the
Web and they work just fine.
However, I am scared away from codebehind by such extenstions as
"Handles MyBase.Load", "Handles Button1.Click" and "Handles
MyBase.Init" etc. which we seem to have to add to the signatures of the
Subs or Functions we define.
So, here are my questions:
1. When do we need to add such "Handles BlahBlah" extenstions?
2. Which "Handles XXX" do we add to what kind Subs? What are the
criteria?
Thanks.
codebehind, especially many of my VB functions may be shared across
multiple aspx pages.
I've tried a few pages with codebehind by follwing some examples on the
Web and they work just fine.
However, I am scared away from codebehind by such extenstions as
"Handles MyBase.Load", "Handles Button1.Click" and "Handles
MyBase.Init" etc. which we seem to have to add to the signatures of the
Subs or Functions we define.
So, here are my questions:
1. When do we need to add such "Handles BlahBlah" extenstions?
2. Which "Handles XXX" do we add to what kind Subs? What are the
criteria?
Thanks.