Author: xor eetur | Posted on: 2/11/2010 6:12:17 PM | Views : 346

Hi, I'm having trouble with my webpage. I made two asp textboxes (<asp: TextBox runat="server">) and an ASP button. These are to upload a file to my website, and these controls are inside a <LoggedInTemplate> control. I wanted to write a C# button_click event to update some XML, and save the files to a folder on the website. For some reason, the controls aren't "visible" to the C# code. They show up when you log in on the webpage, but the C# code doesn't recognise them, or any controls inside the <LoggedInTemplate> tag. Here's the code (.aspx)




<body>
    <form id="form1" runat="server">
    <asp:LoginView runat='server' ID="Loginview1">
    <AnonymousTemplate>
    <asp:Login runat='server' BackColor="#F7F6F3" BorderColor="#E6E2D8&quo ...

Go to the complete details ...