I'm getting the following error in one of my pages:
Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.
The page was working OK, but now all of a sudden, I'm getting this error. I have this in a partial view:
<%= Html.RadControlCss<RadCalendar>() %>
<%= Html.RadControlScripts<RadCalendar>() %>
<%= Html.RadControlCss<RadDateInput>() %>
<%= Html.RadControlScripts<RadDateInput>() %>
<%= Html.RadControlCss<RadTimeView>() %>
<%= Html.RadControlScripts<RadTimeView>() %>
<%= Html.RadControlCss<RadTextBox>() %>
<%= Html.RadControlScripts<RadTextBox>() %>
<%= Html.RadControlCss<RadDatePicker>() %>
<%= Html.RadControlScripts<RadDatePicker>() %>
<%= Html.RadControlCss<RadTimePicker>() %>
<%= Html.RadControlScripts<RadTimePicker>() %>
<%= Html.RadControlScripts<RadDateTimePicker>() %>
<%= Html.RadControlCss<RadComboBox>() %>
<%= Html.RadControlScripts<RadComboBox>() %>
<%= Html.RenderRadDatePicker((rad) =>
{
rad.ID = "StartDate";
rad.SelectedDate = DateTime.Today;
}, "Forest") %>
<%= Html.RenderRadTimePicker((rad) =>
{
rad.ID = "StartTime";
rad.SelectedDate = DateTime.Now;
}, "Forest") %>
Is this the cause of anything?
Thanks.