Thank you, Josh, for your prompt reply.
Since I am using vb so I have placed the following code in my aspx page :
Protected WithEvents UserAccess1 As myproject.userControls
Although userControls.ascx (and Cass userControls) exsits, .NET does not
want to recognize it and tells me "Type myproject.userControls is not
defined."
Do I have to import something ?
"Josh" <s@a.com> wrote in message
news:uK**************@TK2MSFTNGP15.phx.gbl...
if you dragged and dropped the control onto the form you might find that
there is no definition for the control on the page. If you put that in
you will have access to methods and properties on the control.
such as....
protected myproject.userControls UserAccess1;