LoginView and Click server side event


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: LoginView and Click server side event

  1. #1
    Join Date
    Jul 2004
    Posts
    20

    Question LoginView and Click server side event

    HTML Code:
    <asp:LoginView ID="LoginStatus1" runat="server" OnViewChanging="LoginView1_ViewChanging"> 
    <LoggedInTemplate> 
    <asp:LoginName ID="LoginName1" runat="server" FormatString="You login as {0}" /> 
    <asp:Button ID="btnLogout" runat="server" Text="Logout" CssClass="style221" Width="70" OnClick="btnLogout_Click"/> 
    <br /> 
    </LoggedInTemplate> 
    </asp:LoginView>


    Why do I never come to btnLogout_Click() if i click on Logout?

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    How far do you get?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center