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
240
Setup MVC 4 (VS 2010) with jQuery Controls V 2012.1
posted

Hi,

I found a Video showing how to Setup a MVC Project with 2011.1 Version of the jQuery Controls but this doesn't work for me.

Now I need to know how to setup a MVC 4 Project (VS 2010) with jQuery Controls V. 2012.1.

Can you please provide a step by step resource?!

Thanks for your help.

Regards

Herbert

Parents
No Data
Reply
  • 23953
    Offline posted

    Hello Herbert,

    From 12.2 version we provide Ignite UI Visual Studio project templates for MVC 3/4, but unfortunately they are not available in 12.1.

    Also in 12.1 we don't have Infragistics.Web.Mvc.dll pre-compiled for MVC4 as part of the installation. You have to manually compile NetAdvantage for jQuery source for the MVC wrappers against MVC 4 (the source should be available for download from our website for users with licenses).

    Apart from that the steps for setting up a MVC 4 project to use the Infragistics jQuery controls are:
    1. Copy the js/css folders from the NA for jQuery installation folder into your project

    2. (Optional)Add reference to Infragistics.Web.Mvc.dll (compiled against MVC 4). It is not a mandatory step, but the wrappers make the server side data binding very easy.

    3. Add references to jQuery, jQuery UI libraries and infragistics.loader.js in the Views\Shared\_Layout.cshtml file

    4. In the Views\Home\Index.cshtml configure the Infragistics Loader and use our controls.

    For more information you may want to read the Adding Controls to an MVC Project and Using Infragistics Loader topics.

    Hope this helps,
    Martin Pavlov
    Infragistics, Inc. 

Children