Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I use update panel in asp.net. In the update panel there is a dropdownlist which auto postback property is true. when I scroll the long page and select the dropdown item then the page go to the top of the page. But I have to show the page as existing. please help me.
Posted

1 solution

the problem is when you select item on dropdownlist it will post back entire page.
set AsyncPostBackTrigger as below
ASP.NET
<Triggers> 
<asp:AsyncPostBackTrigger ControlID="DropDownList1" EventName="SelectedIndexChanged" /> 
</Triggers> 
</asp:UpdatePanel> 
 
Share this answer
 
v2
Comments
Sumon562 27-Apr-14 1:21am    
I have used Trigger but it does not work

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900