Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "c_emin"

  • What is your product version? v10.4.0
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .net core

I used ASP.NET Zero Power Tools to create a new Geography Entity. I'm able to change values in regular Text input boxes and save those fields.

Then I created a DB Table to store all available Countries to be able to select from a Dropdownlist. I am able to get the available countries to show up in the dropdown list. However, when I choose a country and hit "Save" it does not save the selected country to the DB.

 [StringLength(ProfileConsts.MaxCountryLength, MinimumLength = ProfileConsts.MinCountryLength)]
 public virtual string Country { get; set; }

 [StringLength(ProfileConsts.MaxGeoCountryLength, MinimumLength = ProfileConsts.MinGeoCountryLength)]
 public virtual string GeoCountry { get; set; }

This will save changes fine <input class="form-control" id="Geography_Country" value="@Model.Geography.Country" type="text" name="country"/>

This does not save selected value @Html.DropDownList("Geography_GeoCountry", new SelectList(Model.countrylist, "CountryId", "GeoCountry", Model.Geography.GeoCountry), "Select Country from List", new { @class = "form-control" })

Is there a JQuery Function I need to execute, to update the DTO? Any help would be much appreciated.

  • What is your product version? 10.3.0
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? Core

Using Muli-Tenant I make a Role with everything disabled except the "Users" Section is checked.
Then I Create a new User with that Role. When I log into the new user and then Navigate to Administration -> Users it pops up this error

I know I can enable the Dynamic Entity Properties and would not get this error. But I would prefer to not have the menu option "Dynamic Properties".

Showing 1 to 2 of 2 entries