User,
An ASCX UserControl is not a "Custom Control". Custom Control is a new name
for Server Controls which do not have any "Page" like component such as .ASCX
files.
Perhaps you could be a little more clear about exactly what you want to do
here?
Your ASCX User Control will need to have a reference to the namespace where
MyLibrary.MySub resides.
Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com
> Hi,
>
[quoted text clipped - 15 lines]
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----------------------------------------------------------
User - 21 Jul 2007 18:22 GMT
Thanks Peter,
I guess it's called a User Control?
<%@ Import Namespace="Functions1" %>
<%@ Assembly Src="Functions1.vb" %>
<script language="VB" runat="server">
MyLib.CheckLogin() ' This line hit errors
</script>
Hello World
But i will hit with a
Compiler Error Message: BC30188: Declaration expected.
CheckLogin() resides in Functions1 namespace.
Please advise.
Thanks
> User,
> An ASCX UserControl is not a "Custom Control". Custom Control is a new
[quoted text clipped - 35 lines]
>> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
>> ----------------------------------------------------------