Replies
Hi Martin,
Sorry it was my mistake I didn't read the "known issues" section for 2012.1. It seems for the DatePicker control I needed to load the library jquery.ui.datepicker.js. So everything is oki after I loaded the following dependent libraries, in this order:
<script src="<%: Url.Content("~/Scripts/jquery-1.7.2.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery-ui.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.ui.core.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.ui.widget.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.ui.datepicker.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/Infragistics/js/infragistics.loader.js") %>" type="text/javascript"></script>
Thanks a lot for your time. Btw now the column with the hyperlink works too.
Kind regards,
Hi Martin,
I am trying to use the Infragistics loader control (and to figure out the changes from the service release 2012.1). In my Site.Master page I have added:
<script src="<%: Url.Content("~/Scripts/Infragistics/js/infragistics.loader.js") %>" type="text/javascript"></script>
and in my aspx page I have added the loader:
<%=Html.Infragistics().Loader()
.ScriptPath(Url.Content("~/Scripts/Infragistics/js/"))
.CssPath(Url.Content("~/Content/Infragistics/css/")) .Render() %>
On the aspx page I have a datepicker element defined as:
<%= Html.Infragistics().DatePickerFor(model => model.DomainModelCourtRecord.Creation)
.ID("Creation")….Render() %>,
and I get an error "Uncaught TypeError: Object [object Object] has no method 'igEditor'" in the infragistics.loader.js.
If I try to add it as a resource like this:
<%= Html.Infragistics().Loader()
.ScriptPath(Url.Content("~/Scripts/Infragistics/js/"))
.CssPath(Url.Content("~/Content/Infragistics/css/"))
.Resources("igEditor")
.Render()
%> I get the error: Uncaught Resource 'igEditor' cannot be found. Please check that the resource name is correct.
How should I proceed loading the DatePicker (if possible using MVC wrappers and not javascript)?
Hi Martin,
Thank you for your fast reply, indeed I'm using Netadvantage 12.1 release. I have created the template column this way:
.Columns(c => {
c.For(x => x.Link).Template("<a href='http://google.com'>View</a>").HeaderText(" ").Width("100px");
and I expected that "View" is the hyperlink, however the "View" text is not present in the new column.
Did I forgot to include any library or javascript file from service release 12.1? (I recently migrated from 11.2 to 12.1 and I have just replaced the dll's).