We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

TreeView Control asembly reference problem

Thread ID:

Created:

Updated:

Platform:

Replies:

100365 Aug 1,2011 07:51 AM Aug 5,2011 04:36 AM ASP.NET MVC (Classic) 1
loading
Tags: Tools
Sonam Mehta
Asked On August 1, 2011 07:51 AM

Hi,

When I am using treeview in MVC 3.0 Razor, It shows following error.
-------------------------
Syncfusion.Mvc.Shared.ComponentFactory' does not contain a definition for 'TreeView' and no extension method 'TreeView' accepting a first argument of type 'Syncfusion.Mvc.Shared.ComponentFactory' could be found (are you missing a using directive or an assembly reference?)
-------------------------

My Code is as follows:

--------------------------
@{Html.Syncfusion().TreeView("Mail_TreeVeiw", "MailItems")
.AllowEdit(false).Skin(Skins.Office2007Black)
.ShowLines(false).Width(324).Height(150);}
---------------------------

Can anyone please help me what to do in this?

Thank You..



Varalakshmi R.S [Syncfusion]
Replied On August 5, 2011 04:36 AM

Hi Mehta,

We are really sorry for the delay in getting back to you.

The reported error occurs if “Suncfusion.Tools.Mvc” assembly was not referred. The following assemblies must be referred for Tools MVC control.
The assemblies are,
•Syncfusion.core
•Syncfusion.Shared.Mvc
•Syncfusion.Tools.Mvc

We have also prepared a simple sample to exhibit this behavior and the sample can be downloaded from the following link,
SampleTools_V1-1966065315.zip

We also suggest you to refer the following documentation to know more information on adding reference to the Tools MVC control.
http://help.syncfusion.com/ug_92/User%20Interface/ASP.NET%20MVC/Tools/Documents/addingreferenceassemblies.htm

Kindly try the sample and let us know if it helps.

Regards,
Varalakshmi R.S


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;