Ok, if WebUserControl1 evaluates to null chances are the parser isn't doing
its magic. Quickly looking at your code again I noticied that:
>>> Public WithEvents WebUserControl1 As WebApplication3.WebUserControl1
>>> <uc1:WebUserControl1 id="WebUserControl11"> runat="server">
The value for the ID attribute of the <uc1:WebUserControl1> tag is not
matching the name of your member variable, you need both to match for the
parser to do its magic, so try changing the previous line to:
<uc1:WebUserControl1 id="WebUserControl1"> runat="server">
and it should working,
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
"Christopher Young" <> wrote in message
news:...
> It is the WebUserControl1 that is throwing the exception.
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!