I have script and this script have to get information from textbox which is in a LoginView!
Code:
<script language="vb" runat="server">
....
............. = TextBox1.Text
....
</script>
<html....
....
<asp:LoginView ID="LoginView1" runat="server">
<AnonymousTemplate>
<asp:TextBox ID="TextBox1" runat="server" Width="305px"></asp:TextBox>
</AnonymousTemplate>
</asp:LoginView>
</html>
But there is an error whet I run my page...
"TextBox1 not declared" <--- error in script!
[size=8+]WHY?????[/size]
I have tried to write "LoginView1.TextBox1.Text", "LoginView1.AnonymousTemplate.TextBox1.Text" and others...