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
Ok the problem was fixed by hardcoding the assembly reference in web config file.
I just want to add, I also tried using
<%@ Import Namespace="Infragistics.Web.Mvc" %>
but i am getting the error
Compiler Error Message: CS0246: The type or namespace name 'Infragistics' could not be found (are you missing a using directive or an assembly reference?)