B
Brad
I have a working aspx page, that I want to turn into a User Control.
(it's a simple chart that I want to drop onto other pages throughout
the application)
(The aspx page Inherits a Class from a src .vb file.)
I thought I could simply remove any html from the aspx file, change
the Page declarative to Control (top of page) and then register my new
ascx file in any aspx page I wanted.
However, I get the following error:
'SQLClass' is not a valid base class because it does not extend class
'System.Web.UI.UserControl'.
I added "Imports System.Web.UI.UserControl" to the .vb file, and the
class continues to work for other aspx pages.
Any ideas? thank you
(it's a simple chart that I want to drop onto other pages throughout
the application)
(The aspx page Inherits a Class from a src .vb file.)
I thought I could simply remove any html from the aspx file, change
the Page declarative to Control (top of page) and then register my new
ascx file in any aspx page I wanted.
However, I get the following error:
'SQLClass' is not a valid base class because it does not extend class
'System.Web.UI.UserControl'.
I added "Imports System.Web.UI.UserControl" to the .vb file, and the
class continues to work for other aspx pages.
Any ideas? thank you