Oke, the problem is solved. As you could see I had the form tag commented in my masterfile (ASP 2.0), however for some reason it still got parsed as code. I've now completely removed them and back in business. thanks for the help!
I see I made a mistake in my explanation, the MASTERPAGE is my default.aspx.
c8msm:
If i remove the form tag completely i get:
"System.Web.HttpException: Control 'ctl00_CPHContent_TextBox1' of type 'TextBox' must be placed inside a form tag with runat=server"
when I leave the formtag i get...
I already did that
CONTENT OF MY Master1.master:
<%@ Page Title="My homepage > Home" MasterPageFile="~/Master1.master" Language="VB" AutoEventWireup="false" CompileWith="Default.aspx.vb" ClassName="Default_aspx" %>
<asp:Content ID="Content3" ContentPlaceHolderID="CPHContent" Runat="server">...
Problem:
I use a masterfile. The page account.aspx loads in contentplaceholder3. I have created a form in my account.aspx, but when I try to add a 'ASP:textbox' field to my contact.aspx , I get a: "'TEXTBOX' must be placed inside a form tag with runat=server" error. When I do this, I get a: "A...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.