Results 1 to 2 of 2

Thread: Update Panel Issue

  1. #1
    Hyperactive Member
    Join Date
    Aug 08
    Posts
    382

    Update Panel Issue

    In master page i have

    Code:
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
     <ContentTemplate>
          <asp:Label ID="Label2" runat="server" style="font-size: 12px; font-family: Tahoma; color: #4102FF"></asp:Label>
          <asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick"></asp:Timer>
    
      </ContentTemplate>
    </asp:UpdatePanel>
    and above code are used for Updating time which look something like this

    http://i.imgur.com/aF2cF.png

    .....

    Now I added one webpage and selected above master page

    Now I have one country and state dropdown box

    country = autopostback true and selectedindex change event

    (once i will select country .. request will be sent to server and state will be added into the state dropdown box)

    -----

    The problem is that when i scroll items into country dropdownlist .. dropdown selectedIndex event fired automatically (I guess the problem is with the timercontrol (into masterpage) which fires after every 1 second)

    Please Suggest me how i can correct this problem

    Thanks

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 04
    Location
    VBForums
    Posts
    5,815

    Re: Update Panel Issue

    Post the code on the Child Page
    Please mark you thread resolved using the Thread Tools as shown



    Windows 8 Developer Preview Available For Download
    www.techreceipe.com




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •