I have a SelectList:
SelectList DropDownListOfCatergories = new SelectList(UnitOfWork.ClassifiedCategories.FindAll().OrderBy(Order()), "Category", "Category");
This works fine as you can see I am ordering the list. Now when someone wants to edit something the selectedItem is alway's defaults to the first one no matter what category it is in.
How do I code it so the selectedItem is the correct category the classified is in? i.e dynamiclly generated from teh DB.