I am doing a TimeEdit with devexpress and I need only certain ranges to be chosen, my code is as follows:
itemEndDate.SetNestedContent(() => Html.DevExpress().TimeEditFor(model => model.EndTime, settings =>
{
settings.Name = "EndDate" + item.AvailabilityId;
settings.Properties.ValidationSettings.RequiredField.IsRequired = true;
settings.Properties.EditFormat = EditFormat.Time;
settings.ShowModelErrors = true;
settings.Properties.ClientInstanceName = "EndDate" + item.AvailabilityId;
}).GetHtml());
I try to adjust a minimum and a maximum of the hours chosen by the user, someone has a recommendation? thanks.