Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ds 191 posts 223 karma points
    May 29, 2011 @ 15:17
    ds
    0

    Multiple forms in a page?

    My master template has login and register form which is in the following;

              <div class="login">  
                 <form id="RunwayMasterForm" runat="server">     
                    <asp:LoginView ID="LoginView1" runat="server">
                        <AnonymousTemplate>
                            <span class="input">Oturum aƧmadnz: <asp:LoginStatus ID="LoginStatus1" runat="server" /> yada <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="/Register.aspx">Kayt ol</asp:HyperLink></span>
                        </AnonymousTemplate>
                        <LoggedInTemplate>
                            <span class="input">Merhaba <asp:LoginName ID="LoginName1" runat="server" />  | <asp:LoginStatus ID="LoginStatus1" runat="server" /></span>
                        </LoggedInTemplate>
                    </asp:LoginView>
                  </form>
              </div>

    and sub-template which derives form master has a search form in it.

      <div id="content" class="textpage">
        <form id="search" action="/Search.aspx" method="get">
          <input text="" name="s" /><br/>
          <input type="submit" value="Ara"/>
        </form>
      </div>

    the two forms are not nested and one has runat="server" and another normal html form.

    Search page works as it is expected but login or register page are not displayed. Here is the url which I have a problem: www.bodrumaktivite.com

    How could I make both of the forms work as expected? Hope to give me some feedback.

    Thanks in advance

     

  • ds 191 posts 223 karma points
    May 30, 2011 @ 07:24
    ds
    0

    Does someone have any idea?

Please Sign in or register to post replies

Write your reply to:

Draft