Help with Ajax update panel

I have a form with a clock on it using update panel (below).  The clock updated every second.
Outside of the update panel, there is a text box.  When a user types data in the text box, the text box changed event fires every second when the clock ticks.  How can I suppress this?



                <div style="background-color:transparent;">
                    <asp:UpdatePanel runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional" ID="UpdatePanel1">
                        <ContentTemplate>
                            <asp:Label runat="server"  ID="LabelClock" Width="80px" ViewStateMode="Disabled" />
                            <asp:TextBox ID="TextBoxClock" CssClass="EntryFieldProtected" runat="server" Width="80px" ReadOnly="True" ViewStateMode="Disabled"></asp:TextBox>
                            <asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Interval="1000" ViewStateMode="Disabled" />
                            <asp:textbox id="TextBoxLog"  TextMode="MultiLine"      tabIndex="10" runat="server" CssClass="EntryFieldProtected" Width="326px" Height="152px" ReadOnly="True" ></asp:textbox>
                        </ContentTemplate>
                        <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
                        </Triggers>
                    </asp:UpdatePanel>
                </div>
No1CoderAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Johny BravoCommented:
Easy way would be to put the textbox in other updatepanel and set its updatemode=conditional
0
No1CoderAuthor Commented:
I tried this but didn't make a difference.  Both update panels are conditional.
0
Manoj PatilSr. Software EngineerCommented:
Hey just try with this
ViewStateMode="Enabled" for TextBox and Timer Control
0
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

No1CoderAuthor Commented:
Changing viewstate makes no difference.  Already tried this.

I put the text boxes into a separate update panel (below).  As soon as I type into either one, the text changed event fires every time the timer event fires.  So, my problem still exists.


           <asp:UpdatePanel runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional" ID="UpdatePanel2">
                  <ContentTemplate>
                      <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td >
                                <asp:TextBox id="TextBoxUser" runat="server" CssClass="EntryField" MaxLength="128" TabIndex="10" TextMode="Password" Visible="true" Width="195px" ToolTip="Enter your TrackStar User ID in this field to identify yourself." OnTextChanged="TextBoxUser_TextChanged"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:label id="LabelPassword" runat="server">Password</asp:label>
                            </td>
                            <td>
                                <asp:textbox id="TextBoxPassword" tabIndex="10" runat="server" CssClass="EntryField" Width="140px"            TextMode="Password" MaxLength="16" Visible="True" AutoPostBack="True" OnTextChanged="TextBoxPassword_TextChanged" ToolTip="Enter your TrackStar password in this field to log on to the Kiosk."></asp:textbox>
                                <asp:LinkButton id="LinkButtonAction" runat="server" OnClick="LinkButtonSignIn_Click">OK</asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
0
Johny BravoCommented:
You mean you are having two different update panel. In one update panel you are having textboxes and in second update panel you are having label and timer. Both the updatepanel are set as conditional?

Check if this is in master page and it contains update panel for your contenttemplate.
0
No1CoderAuthor Commented:
I gave up.  Accomplished the same thing with JavaScript.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
No1CoderAuthor Commented:
Nothing else worked.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.