Member Control problem - runat=server tag Options
MortenB
Posted: Saturday, October 13, 2007 11:10:07 PM
Rank: Newbie

Joined: 10/13/2007
Posts: 1
I have installed the Member Controls package in Umbraco 3.0.3. I have followed the instructions on http://en.wikibooks.org/wiki/Umbraco/Samples_and_Articles/Protecting_Documents.
But when I run the page with logon form, I get an error: “Control 'umbLogin_2_TextBoxUserName' of type 'TextBox' must be placed inside a form tag with runat=server.” I have tried to change the marco to the searc marco and then there are no problems(?) Can anybody help me?
Thanks.
drobar
Posted: Sunday, October 14, 2007 12:21:50 AM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Add the following tags to surround the form (or macro) in your template...

Code:

<?ASPNET_FORM>
   .
   .
   .
</?ASPNET_FORM>


cheers,
doug.

MVP 2007-2009 - Percipient Studios
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.