List Box not getting updated within the updatepanel

Posted by Sateeshkumar.Singupuram under ASP.NET AJAX on 10/3/2013 | Points: 10 | Views : 3109 | Status : [Member] | Replies : 2
i have two list boxes inside an update panel. List Box-2 should get updated on selecting an item from ListBox-1. it is properly updating the data into database. but the same data i am unable to see on the ListBox-2 until i refresh the page.

sateesh kumar singupuram


Responses

Posted by: Bandi on: 10/3/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer
http://dotnetspidor.blogspot.in/2008/09/move-items-from-one-listbox-to-another.html
http://www.codeproject.com/Articles/18305/Select-ListBox-Using-Ajax
http://www.daniweb.com/web-development/aspnet/threads/351635/populate-an-asp-list-box-based-on-selection-of-a-previous-list-box-using-ajax
http://forums.asp.net/t/1543467.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Sateeshkumar.Singupuram, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 10/3/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Note: If you want to update the UpdatePanel immediately when the user selects an item in the ListBox you have to set it's AutoPostBack property to "True "(default is false for ListBox)

http://stackoverflow.com/questions/15988309/updatepanel-not-updating-listbox
http://stackoverflow.com/questions/3483023/update-panel-not-working
http://forums.asp.net/t/1373530.aspx
http://stackoverflow.com/questions/5563815/listbox-selections-does-not-show-up-after-autopostback

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Sateeshkumar.Singupuram, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response