Silverlight client 4.0 application listboxs not working with the new Sliverlight 5.1 client
-
Please let me be more percise with the problems that are occuring. What I have are two list boxes and add/remove buttons between them. Now what I do is have a collect for the ALL ITEMS and a collection for the SELECTED ITEMS. What is happening is that when the user selects an item from the ALL ITEMS list and clicks the add button it does not show up in the SELECTED ITEMS list until the user clicks the add button one more time. What I am doing is iterating through the allItems collection and checking for the item in the selectedItems list. Now, if the item that was selected during the add button click event is not in the selectedItems list the I use the .Add method to add it to the SELECTED ITEMS list box. After the first item makes it over to the SELECTED ITEMS then the Add/Remove buttons work just fine. What we did to test this and determine that it was a Silverlight 5.1 client issue is switch out, starting at version 4.0 then 5.0 then finally 5.1 clients and everything worked fine for 4.0 and 5.0 but when 5.1 was loaded on the client it start to experence the problem. If anyone can provide some insite that would be great! Thanks, Steve Holdorf
-
Please let me be more percise with the problems that are occuring. What I have are two list boxes and add/remove buttons between them. Now what I do is have a collect for the ALL ITEMS and a collection for the SELECTED ITEMS. What is happening is that when the user selects an item from the ALL ITEMS list and clicks the add button it does not show up in the SELECTED ITEMS list until the user clicks the add button one more time. What I am doing is iterating through the allItems collection and checking for the item in the selectedItems list. Now, if the item that was selected during the add button click event is not in the selectedItems list the I use the .Add method to add it to the SELECTED ITEMS list box. After the first item makes it over to the SELECTED ITEMS then the Add/Remove buttons work just fine. What we did to test this and determine that it was a Silverlight 5.1 client issue is switch out, starting at version 4.0 then 5.0 then finally 5.1 clients and everything worked fine for 4.0 and 5.0 but when 5.1 was loaded on the client it start to experence the problem. If anyone can provide some insite that would be great! Thanks, Steve Holdorf
Can you post your code && XAML please..I don't think Silverlight client has to do anything with your issue. Cheers! Vinod
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.