B
Bijoy Naick
My project contains multiple aspx pages. Many of these pages have
code-behind that use several helper functions.
Instead of copying each helper function into each aspx page, I am
thinking of using a VB Class file to store these.
Questions -
- How would I "include" this class in each aspx page?
- How would I call the functions?
- One of my functions does a "Page.FindControl". How can I make the Page
object accessible within the class file? When I use Page.FindControl in
my VB class file, VS .NET displays an error = "Reference to a non-shared
member requires an object reference". I've imported system.web in the
class file.
Thx.
Bijoy
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
code-behind that use several helper functions.
Instead of copying each helper function into each aspx page, I am
thinking of using a VB Class file to store these.
Questions -
- How would I "include" this class in each aspx page?
- How would I call the functions?
- One of my functions does a "Page.FindControl". How can I make the Page
object accessible within the class file? When I use Page.FindControl in
my VB class file, VS .NET displays an error = "Reference to a non-shared
member requires an object reference". I've imported system.web in the
class file.
Thx.
Bijoy
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!