Then you would be able to do Html. DropDownList("Games" + I + ". HomeTeamId", new SelectList(Model.
Teams, Model.Gamesi. HomeTeamId)); public class RoundViewModel { .... public IList Teams { get; private set; }.
If you have a look at the constructor of a SelectList object then you can see it takes an IEnumerable list of objects as its source and other parameters to set the data and text fields and also the selected item. Is there any particular reason your View model stores a SelectList rather than say a List of Teams? Then you would be able to do Html.
DropDownList("Games" + I + ". HomeTeamId", new SelectList(Model. Teams, Model.Gamesi.
HomeTeamId)); public class RoundViewModel { .... public IList Teams { get; private set; }.
Awesome, that suggestion did it. Honestly, I was using a SelectList because that's what most of the simpler examples I came across were using. – Damovisa Mar 1 '10 at 14:23.
Code below is used to restore opened tree node if page is loaded.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.