Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to ASP.NET, so First I would like to apologise for silly question.

My problem is with DropDownList in Web App. In a page, when I try to select any item from the drop down list that has been populated with data retrieved from database on DropDownList.Load() event, the page automatically post backs to server and initialize everything in the page, so I can not select any item from the list.

Note: DropDownList is AutoPostBack enabled.
Posted

1 solution

http://doitdotnet.wordpress.com/2011/12/16/using-ispostback-property-asp-net-to-avaoid-refilling-of-page-contents/[^]

Above link explains the usage of IsPostBack property with a nice sample program check this. It will solve your problem Jyoti
 
Share this answer
 
v2
Comments
Jyoti Choudhury 16-Dec-11 10:51am    
Thanks a lot...
RaviRanjanKr 16-Dec-11 15:30pm    
My 5+

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