Hi,
I am new to infragistics and new to asp.net mvc. I have download Infragistics Ultimate trial version. And I have installed the help and samples for JQ and Asp.Net. I wanted to evaluate different components of infragistics control. Can you please tell me where can i find Infragistics.Web.Core.Framework.Mvc?
The only library that I can find close to this is Infragistics.Web.MVC and Infragistics.Web.Mvc.Documents.Core.
I want to use the Mvc grid control.
Thanking you in advance.
Shahan
Hi Shahan,
The Infragistics.Web.Core.Framework.Mvc assembly is used in the samples browser application primarily for data access. There are 3 primary places you may see this dependency that should be replaced within your own application. Let's assume you're trying to make an application using your own Customer object:
The Controller:
var ds = this.DataRepository.GetDataContext().MyComplexProducts; return View("RowSelection", ds);
In the above code, ds corresponds to an IQueryable<MyComplexProduct>. 'MyComplexProduct is a type used in our samples framework to supply sample data. You can replace this and supply an IQueryable<Customer> in your own application.
public class GridRowSelectionController : SampleController
SampleController is another custom type used to provide access to the samples browser's data access API. The default Controller class in ASP.NET MVC should be used instead of SampleController.
In the View:
<%@ Page Language="C#"
Inherits="Infragistics.Web.Core.Framework.Mvc.SampleViewPage<IQueryable<Infragistics.Web.Core.Framework.Data.Models.MyComplexProduct>>"
This is related to the two issues already described. SampleViewPage is custom and can be replaced by the default 'System.Web.Mvc.Viewpage'. If you are using strongly-typed views, you can use the default syntax for that as well 'System.Web.Mvc.ViewPage<Customer>'.
There could be more scenarios where these dependencies appear, but in most cases this is where the samples browser uses some custom APIs that aren't related to the product itself.
Hope that helps!
We are trying to evaluate Infragistics Jquery and document controls, but the sample code doesn't work out of the box...can you point me to a working sample application?
Which sample(s) are you referring to? We can get you more detailed information.
If you install the Ignite UI samples for 13.1, there is a much more user-friendly samples browser but it might not have every sample that's on the website. Please let us know the scenario(s) you need.
We tried to evaluate the Framework document and Jquery capabilities (which are not in the download), but most of them won't compile, and the Personal Finance Dashboard generates a jquery error when you try and run it.
See the samples in this code view:
https://www.igniteui.com/infragistics-documents/create-pdf-or-xps
…and these application samples:
http://es.infragistics.com/products/jquery/application-samples
HI
I have hit this problem in the online sample here:
http://help.infragistics.com/NetAdvantage/jQuery/2013.1/CLR4.0?page=igGrid.html
The sample contains:
using Infragistics.Web.Core.Framework.Mvc;
and lines of code referring to the Transaction type fail to compile eg:
foreach (Transaction<MyComplexProduct> t in transactions)
But adding a reference to this namespace instead of the Infragistics.Web.Core... bits resolves the problem :
using Infragistics.Web.Mvc;
I think that whatever was in Infragistics.Web.Core is now in Infragistics.Web.Mvc so that is all you need.
Hello Jer,
I have opened a support request(CAS-117465-G2L5T5) for this forum post so we may research this behavior further. Please use the following link to log onto your account at Infragistics.Com:
<https://es.infragistics.com/my-account/support-activity>
Once you are logged onto your account, go to My Support Activity to view the progress of this support request. An update will be sent to you in the support request with any new information we find.
Please let me know if you have any questions.