Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2035
Upgrade from 2014.2 to 2017.1
posted

I'm finally getting around to upgrading one project that I did some time back to 2017.1 from 2014.2.  This is because I want to use the new schedule control.  I have figured out a number of the changes required, but have encountered a few issues and could use some assistance please.

1. What is the replacement for DatePicker.Theme?  For example:

@(Html.Infragistics().DatePickerFor(m => m.ExamDate)
.ID("exam-date")
.ButtonType(TextEditorButtonType.DropDown)
.PlaceHolder("Enter date")
.MinValue(@Model.MinExamDate)
.MaxValue(@Model.MaxExamDate)
.ClientEvents(new Dictionary<string, string>() { { "valueChanged", "function(evt, ui) { updateExamDate(ui.value) }" } })
.Width(70)
.Theme("custom-theme")
.DateDisplayFormat("d MMM")
.DateInputFormat("d MMM")
.Render())

The goal is to customize this using the style:

.custom-theme .ui-icon {
  width: 16px;
  height: 16px;
  background-image: url(themes/brand/img/calendar_16.png);
}

.custom-theme .ui-igedit-buttonimage {
  background-position: 0px 0px;
}

2. What is the replacement for RenderMatchItemsCondition as in:

.RenderMatchItemsCondition(ComboRenderMatchItemsCondition.None)

3. This JS code fails with igEditor not found

var d1 = $($examDateId).igEditor('option', 'value');

where $examDateId refers to a DatePicker.  What is the equivalent?

4. Is there a preferred version of JQuery to use?

Regards,

Arthur