The problem I am having is that on any control that I add that requires user input (for example a login-box) the bloody page updates with the timer (every 1000ms)
The solution to this from reading online is to have the timer in a update panel as well as my control in a seperate update panel, but this does not seem to work at all.
NOT looking for anyone to do my homework but I would really appreciate any advice or pointers,
I have my code available if anyone would like to see it
masterpage:
<table class="style3"> <tr> <td> <asp:UpdatePanel ID="UpdatePanel3" runat="server"> <ContentTemplate> <asp:Label ID="Label1" runat="server"> </asp:Label> <asp:Timer ID="Timer2" runat="server" Interval="1000" ontick="Timer1_Tick"> </asp:Timer> </ContentTemplate> </asp:UpdatePanel> </td> </tr> </table>
Then I have this for my login page....
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <asp:LoginView ID="LoginView1" runat="server"> <AnonymousTemplate> <asp:Login ID="Login1" runat="server" DestinationPageUrl="~/Home.aspx"> </asp:Login> </AnonymousTemplate> </asp:LoginView> </ContentTemplate> </asp:UpdatePanel> </asp:Content>
Thank you in advance for any help it is much appreciated
Shongololo

New Topic/Question
Reply




MultiQuote




|