I finally figured that out, thanx.
Also, I found out the hard way that you can't rename a .ascx after you have added it to a page. Even if you remove it from the page and re-add it it seems there is something internal that looks for the original name of the control as a reference. Anyway that was also compounding the problem.
>>host page. Yet when I try to see the properties and object members using intellisence it does not appear to exist. Strangely enough when typing this. > protected System.Web.UI.WebControls.Button submit;
>> protected System.Web.UI.WebControls.HyperLink HyperLink1;
>> protected distaccts Distaccts1;
>
>If you want to see the items inside of your UserControl from another class they have to be defined as Public.
>
>BOb
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California