• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1520
  • Last Modified:

Page still flickers even tho I have updatepanel/trigger

I have a dropdownlist

 
 <asp:DropDownList ID="ddlMonth" AutoPostBack="true" OnSelectedIndexChanged="ddlMonth_OnSelectedIndexChanged" TabIndex="6" runat="server">

Open in new window


And an updatepanel below but page still flickers when I choose an item from the ddl. What am I missing?

<asp:updatepanel ID="updatepanel1" runat="server"> 
        <Triggers> 
            <asp:PostBackTrigger ControlID="ddlMonth" />  
        </Triggers> 
        <ContentTemplate> 
 
        </ContentTemplate> 
    </asp:updatepanel> 

Open in new window

0
Camillia
Asked:
Camillia
  • 2
  • 2
2 Solutions
 
Tom BeckCommented:
The dropdownlist is inside the ContentTemplate of the UpdatePanel?
0
 
CamilliaAuthor Commented:
no, it's not. I thought I don't need to put the dropdown inside an update panel if I'm using "triggers". The dropdown also needs to be inside an updatepanel?
0
 
Tom BeckCommented:
Yes. Only controls inside the ContentTemplate get updated with a partial postback.
0
 
CamilliaAuthor Commented:
thanks, i will try it.
0
 
gopaltaydeCommented:
it's known issue if you search google for ajax+dropdown flicker, you will get lots of link.

http://forums.asp.net/t/1477818.aspx
http://forums.asp.net/thread/1674097.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now