asp 2.0 Login control and Ajax RC1

Last post 02-14-2007 7:29 PM by J. Silva. 2 replies.

Sort Posts:

  • asp 2.0 Login control and Ajax RC1

    02-13-2007, 10:47 AM
    • Member
      point Member
    • J. Silva
    • Member since 02-13-2007, 10:28 AM
    • Posts 2

    Hi to all,

     I'm new to ASP & AJAX, but I would like to use Ajax in a Login control, so the page wouldn't refresh for everytime a user log in.

     Somehow, even with a very simple code, i can't get this to work. Any idea why this is happening ??

    I'm also using a SQL Connection, if needed i'll post here the web.config file

     Any help will be greatly apreciated. Thanks

     Here goes the code, it can't get any simpler than this ... i guess

     

    <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server" />

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">

    <ContentTemplate>

    <asp:Login ID="Login1" runat="server" BackColor="#F7F7DE" BorderColor="#CCCC99" BorderStyle="Solid"

    BorderWidth="1px" Font-Names="Verdana" Font-Size="10pt">

    <TitleTextStyle BackColor="#6B696B" Font-Bold="True" ForeColor="#FFFFFF" />

    </asp:Login>

    </ContentTemplate>

    </asp:UpdatePanel>

    </form>
  • Re: asp 2.0 Login control and Ajax RC1

    02-13-2007, 7:33 PM
    • Participant
      1,862 point Participant
    • WishStar99
    • Member since 08-05-2006, 12:11 AM
    • VietNam
    • Posts 552

    I don't use <asp:Login,

    but try add: EnablePartialRendering="true" to your scriptmanager and UpdateMode="Conditional" to your UpdatePanel.

     

    Hope it works.

    //---------------------------------------------//
    //------------------- Chloé ------------------//
    //---------------------------------------------//
  • Re: asp 2.0 Login control and Ajax RC1

    02-14-2007, 7:29 PM
    • Member
      point Member
    • J. Silva
    • Member since 02-13-2007, 10:28 AM
    • Posts 2

    Hi,

     Unfurtunatly no, everything remains the same, but thanks for your help.

     Regards,

Page 1 of 1 (3 items)