Tech Off Post

Single Post Permalink

View Thread: ASP.NET MVC MultiSelect issue
  • User profile image
    Maddus Mattus

    ZippyV said:
    Maddus Mattus said:

    As you can see from my controller action, I don't put anything in the viewdata.


    I've seen people creating a list of SelectListItem using LINQ but they are all in C# and I have no idea how to translate it to VB.NET.



    var friendNames = 
     (from tweet in friendTweets
     select new SelectListItem
      Text = tweet.ScreenName,
      Value = tweet.ScreenName
    // Selected = True|False should also be filled in here



    does the problem exist?


    if so, can you post your asmx or aspx?