I'm pretty sure that i have followed the guide correct but I get an error when trying enter the sign in page. I can't figure out what it is that I need to place where?
Control 'ctl00_ctl00_ContentPlaceHolderDefault_umbLogin_2_TextBoxUserName' of type 'TextBox' must be placed inside a form tag with runat=server.
Login user control is not working in firefox browser. But it works well in all IE browsers. That is when I am trying to login with user credentials it redirecting to login page itself, clearing out text boxes. What causes for this problem?
I have created a login user control in umbraco, in master template i have given form tag as <form id="loginForm" runat="server"></form>
Problem with Member login
Hi,
I'm pretty sure that i have followed the guide correct but I get an error when trying enter the sign in page.
I can't figure out what it is that I need to place where?
Control 'ctl00_ctl00_ContentPlaceHolderDefault_umbLogin_2_TextBoxUserName' of type 'TextBox' must be placed inside a form tag with runat=server.
My template looks like this:
<%@ Master Language="C#" MasterPageFile="/masterpages/MasterTemplate.master" AutoEventWireup="true" %>
<asp:Content ContentPlaceHolderId="Title" runat="server">
<umbraco:Item field="Titel" runat="server"></umbraco:Item> - sornsen.dk
</asp:Content>
<asp:Content ID="Indhold_ID" ContentPlaceHolderID="Indhold" Runat="Server">
<div id="left">Menu</div>
<div id="mainright">
<umbraco:Item field="Indhold" runat="server"></umbraco:Item>
<umbraco:Macro SignOutLinkText="Sign out" LoggedInText="You are logged in" LogOutOnly="0" Alias="MemberLogin" runat="server"></umbraco:Macro>
</div>
</asp:Content>
For now the error can be seen here:
http://www.sornsen.dk/privat.aspx
Hi Martin,
Make shue you have a
on your template
It works.
Thanks.
Hi Martin, please make sure to mark Martin B's post as the solution.
>Tommy
Hi,
Login user control is not working in firefox browser. But it works well in all IE browsers. That is when I am trying to login with user credentials it redirecting to login page itself, clearing out text boxes. What causes for this problem?
I have created a login user control in umbraco, in master template i have given form tag as <form id="loginForm" runat="server"></form>
below is my master template,
<%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="PageHead" runat="server">
</head>
<body>
<form id="form1" runat="server">
<div id="content-wrapper" class="cheight">
<div class="content">
<div id="frag_left">
<span id="lblHeaderText" style="background-color: #4682B4;height:32px;padding-left:27px;font-weight:bold;font-size:24pt;">SYNWA</span>
<div style="background-color: white; height:2px;"> </div>
<umbraco:Macro runat="server" Alias="LeftPane" macroAlias="LeftPane"></umbraco:Macro>
</div>
<div id="frag_right">
<div id="menu_bar_top" style="background-color: #4682B4;">
<umbraco:Macro runat="server" Alias="HeaderText" macroAlias="HeaderText"></umbraco:Macro>
</div>
<div style="height: 25px; background-color: white;">
<span class="lblHeader">South Yorkshire Neighbourhood Watch Association</span>
</div>
<div id="menu_bar">
<umbraco:Macro runat="server" Alias="Menu" macroAlias="Menu"></umbraco:Macro>
</div>
<div id="mainContent">
<asp:ContentPlaceHolder ID="MasterTemplateContentPlaceHolder" runat="server"></asp:ContentPlaceHolder>
(My user control will render in this area)
</div>
</div>
<div id="footer_space"></div>
<div class="footer_bar">
<umbraco:Macro runat="server" Alias="Footer" macroAlias="Footer"></umbraco:Macro>
</div>
</div>
</div>
</form>
</body>
</html>
</asp:content>
My template look like this,
<%@ Master Language="C#" MasterPageFile="/masterpages/MasterTemplate.master" AutoEventWireup="true" %>
<asp:Content ContentPlaceHolderID="MasterTemplateContentPlaceHolder" runat="server">
<h3 title="<umbraco:Item runat='server' field='PageHeader'/>"><umbraco:Item runat="server" field="PageHeader"/></h3>
<umbraco:Item runat="server" field="bodyText"/>
<umbraco:Macro runat="server" Alias="NewLogin" macroAlias="NewLogin"></umbraco:Macro>
<umbraco:Item runat="server" field="bodyFooter"/>
</asp:Content>
is working on a reply...