Does soneone know hot to get value from first dropdown list to second dropdown list or remove it from seond dropdown list?
I have a web form page. On the page, there are two dropdown lists, one Add button, and one Remove button . First dropdown list has four list items. Second one does not have list item yet. When select a item from first dropdown list, then click "add" button. I want it to apear in the second dropdown list without reload the page. Or select item from second dropdown list, and click "Remove" button. it will remove from second list. Please help.
If you want to have the same functionality as with a postback, but don't want the user to see the entire flashback of the page posting back, you can use the callback functionality. See Dino Esposito's article on A Crash Course on ASP.NET Control Development: Building Callback Capabilities in ASP.NET Rich Controls: http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/CCCSctCall.asp
Thank you. it solved my problem.