Skip to content Skip to sidebar Skip to footer

How To Save An Id For A Dropdownlist Using Angular Js?

I have a problem in my project using Angularjs. Here is my code: Controller // GET: api/CustomerLists/5 [ResponseType(typeof(CustomerList))] public IHttpActionResu

Solution 1:

I see it is a design issue rather than code issue

You need to redesign your ViewModel to include subclasses for properties like Status and CallingList

Then pass the value using expression like {{s.Status.ID}} and so on for all composed properites

Post a Comment for "How To Save An Id For A Dropdownlist Using Angular Js?"