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
160
How to refer Infragistics.Web.Mvc in ASPx page?
posted

Hi,

 

I downloaded the samples for Jquery and MVC and installed them. I am trying to use the combo box as

                             <div id="comboContainer">
                                <!--Combo Target Element-->
                                <%= Html.Infragistics().Combo(this.Model as ComboModel) %>
                                <div id="comboTargetDiv">
                                </div>
                            </div>

 

But i am getting the error,

CS1061: 'System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'Infragistics' and no extension method 'Infragistics' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<object>' could be found (are you missing a using directive or an assembly reference?)

 

So I tried giving the reference to the assembly in the aspx page as following

<%@ Register Assembly="Infragistics.Web.Mvc" Namespace="Infragistics.Web.Mvc" TagPrefix="Infragistics" %>

 

But then I got the error

Could not load file or assembly 'Infragistics.Web.Mvc' or one of its dependencies. The system cannot find the file specified.

____________

Is there anything I am missing. Can you please tell me what is the correct reference ? I am using 32 bit OS.

Regards,

Shahan

Parents Reply Children
No Data