Folks mess up with login controls?

Coordinator
Mar 12, 2008 at 4:19 PM
Loginview, after the event triggered between two dropdownlists, it disappeared from its loggedInView. It gets same errors as Login if it's in AnonymousView. I'm not sure if it's a related problem.
Mar 12, 2008 at 6:04 PM
Sorry, I didn't test this thoroughly.
It didn't "disappear". It's CSS related.
A child dropdownlist would do a databind based on selection of parent dropdownlist.
The child dropdownlist would change its width when data binded.
Loginview then loses its original layout and was out of visible layout on the page.

I think this is very specific to my page layout.
Putting the loginview onto the page won't have any problem.
Sorry to bring that up.

<div style="float:right">
<asp:LoginView ID="LoginView1" runat="server">
<AnonymousTemplate>
You're anonymous
</AnonymousTemplate>
<LoggedInTemplate>
<asp:Menu ID="Menu1" runat="server" >
<Items>
<asp:MenuItem Text="option1" >
</asp:MenuItem>
<asp:MenuItem Text="option2" >
</asp:MenuItem>
</Items>
</asp:Menu>
</LoggedInTemplate>
</asp:LoginView>
</div>