views:

146

answers:

0

I know it's possible to use the LoginView code to display content when the user is logged in. But I am trying to do this with a webpart control, but when I do this with the drop down list for picking the Browse, Design and Catalog menu, the VB code is still trying to look for the dropdownlist. But because I'm not yet logged in, the dropdownlist isn't yet visible so I'm erroring with the VB code.

What's the best way to get around this problem?