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
Go to properties of the dll reference and set copy local to true
@Joao serra Thanks. Copy Local is THE most important thing. It is so easy to forget this step & such a pain to figure out if you don't know to do it.