I am using the MVC2 WEB application .
I have downloaded dll from this site http://simple-telerik-extensions.googlecode.com/svn-history/r14/trunk/telerik/Binaries/Mvc2/
I am using the following code in my view
i am getting following error please help me
‘Telerik.Web.Mvc.UI.ViewComponentFactory’ does not contain a definition for
‘ComboBox’ and no extension method ‘ComboBox’ accepting a first argument of type
‘Telerik.Web.Mvc.UI.ViewComponentFactory’ could be found (are you missing a
using directive or an assembly reference?)
Do you have the appropriate @using statement at the top of the view? Or in the web.config file? I’m sure the documentation will explain what you need for the methods to be found.
Any body who have used Telerik with MVC 2 PLEASE HELP ME
You should be asking Kendo about this, you’ll get a better response. Have you installed it properly?
Have you looked at the troubleshooting section that shows you the web.config changes I have asked if you have made?
You’ll get much better support from Kendo and their forum, but if you want to ask questions on a general asp.net forum then saying you’ve downloaded a dll and it doesn’t work won’t give us enough info to go on. At least start with the installation instructions
and the trouble-shooting pages above.
It sounds like you are simply missing the appropriate References within your project to the Telerik extensions. In addition, you’ll likely need to include references to the appropriate libraries within your web.config similar to the example shown below :
<pages controlRenderingCompatibilityVersion="4.0"> <namespaces> <add namespace="System.Web.Mvc" /> <add namespace="System.Web.Mvc.Ajax" /> <add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Routing" /> <!-- Notice the Telerik.Web.Mvc.UI Reference --> <add namespace="Telerik.Web.Mvc.UI" /> </namespaces> </pages>
This should include the needed reference within all of your Views so that you can use the helpers as necessary. I also agree with Aidy regarding using Telerik / Kendo’s support in the future. In my experiences they have always been extremely helpful and
quite quick to respond to any issues like this (generally searching through
their forums can be a life-saver for commonly encountered issues).