This file doesn't allow for the <head>, <body> or <html> elements. It gives me the error:
"Only content controls are allowed directly in a content page that contains Content controls".
Meanwhile, a nice chap here told me to put in the <head> scetion of the master page the following:
<asp:ContentPlaceHolder id="head" runat="server">
and in the <body>:
<asp:ContentPlaceHolder id="body" runat="server">
So I did.
And in the .aspx file i put the following just for the sake of testing:
<asp:Content ID="head" ContentPlaceHolderID="head
var txtBox1 = document.getElementById('<
%= Email.ClientID %>');
And in the markup of the Email field of the registration form, I've added onclick:
<asp:TextBox id="Email" runat="server" MaxLength="128" columns="40" onclick='check' />
The problem is that I always het the error:
"The name Email [the id name of the first email textbox] doesn't exist in the current context".
Anyway, if you want to see what I'm trying to do with the .aspx file (the new user registration form), please check http://www.absinto.org/form.html
(start filling the login box).
Any help would be appreciated. I really need this very much.