controls disapear after adding Namespace

G

Guest

Hi
I wanted to see if this is normal, and if so, how the heck do I correct it.
Take the code below:
if uInfo.RoleName = "ADMIN" then
me.UsersList1.Visible = True
me.POSearch1.LoadSearchOptions(True)
else
me.UsersList1.Visible = False
me.POSearch1.LoadSearchOptions(False )
End If
Withwout a name space declared in file everything works just fine. But if I
add a namespace to this code file, the system seems to loose the usercontrols
on the masterpage. Do I need to setup a namespace with the same name for the
masterpage and the usercontrols? Thanks for any input. Thanks
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top