Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Silverlight client 4.0 application listboxs not working with the new Sliverlight 5.1 client

Silverlight client 4.0 application listboxs not working with the new Sliverlight 5.1 client

Scheduled Pinned Locked Moved WPF
helpquestionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Steve Holdorf
    wrote on last edited by
    #1

    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

    V 1 Reply Last reply
    0
    • S 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

      V Offline
      V Offline
      vinodkrebc
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups