I purchased Essential Studios before the new year. And while the samples, your website and the controls all seem to fulfill the claims and promises made, I am a little disappointed in the ease/documentation to add components to an existing project and maintaining different versions of the product across different projects.
For example, if I try to add Charts to an existing MVC4 project, your documentations states that I need the following:
However, I know for certain that so far (I haven't got it working yet), I also need:
Also, since I manage different projects, that I upload to servers that will not have the assemblies installed in the GAC, I cannot use the version number syntax for your config settings. I may have one project that I build with 10 and another project that I build with 11 next month. Do I really need to have all these versions in the GAC? I'd rather just run these projects with the assemblies bin deployed (as part of source control and in my solution). This also complicates matters since your samples and examples found throughout the site always want to use this syntax, and of course, using all different versions of your assemblies, whether they've changed or not. There must be a better way to do this? I can't run many of your examples because I don't have the version installed. Not good. You have to find a better way to do this.
Most importantly, is it possible to get some documentation on how to add a given component (Charts, Excel, Grid, etc.) to an existing project from start to finish? This should mean that if I follow the steps 1- x, using (for example) VS2012, MVC4, Essential Studio 10, that I will be able to build and run a project.
Please help!
It seems I also have to ensure that I have the following scripts:
Yet, no where does it say this.
Hi Tony,
Thanks for using Syncfusion products.
We can deploy the web application without install the Essential studio in server and we can refer the Syncfusion assemblies from bin folder of application. Please refer the following steps to configure webconfig and layout.cshtml file to use syncfusion chart control in MVC application.
Step 1) Referring the DLL from bin folder for chart
control and configure web config file for dll
We suggest you to place the below DLL's in bin folder for chart control instead
of referring from GAC. Please remove the version, Culture and PublicKeyToken
from web.config and aspx file while referring from bin folder. Please refer
below code snippet.
[Web.Config]
1) Adding reference assembly in webconfig
file
<assemblies>
<add assembly="Syncfusion.Core" />
<add assembly="Syncfusion.Chart.Base" />
<add assembly="Syncfusion.Chart.Mvc" />
<add assembly="Syncfusion.Shared.Mvc" />
<add assembly="Syncfusion.Linq.Base" />
<add assembly="Syncfusion.Theme.Base" />
<add assembly="Syncfusion.Tools.Mvc" />
<add assembly="Syncfusion.Compression.Base" />
<add assembly="Syncfusion.Shared.Base” />
</assemblies>
2) Adding
namespace in webconfig file
<namespaces>
…
<add namespace="Syncfusion.Mvc.Shared" />
<add namespace="Syncfusion.Mvc.Tools" />
<add namespace="Syncfusion.Mvc.Chart" />
<add namespace="Syncfusion.Windows.Forms.Chart" />
</namespaces>
3)
To add the above namespace in Views
web.config: (There will be two web.config files. Refer to the one in the views
folder.) Add the namespaces under the <namespaces> tag.
4) Add the handler under the <httphandler> tag
<httpHandlers>
<add verb="GET,HEAD" path="MvcResourceHandler.axd" type="Syncfusion.Mvc.Shared.MvcResourceHandler,
Syncfusion.Shared.Mvc" validate="false" />
<add path="syncfusion_generate.ashx" verb="*" type="Syncfusion.Web.UI.WebControls.Chart.ChartWebHandler,Syncfusion.Chart.Web" />
</httpHandlers>
5) In order to run the Chart
application in web server, you need to add the chart handlers which specifies
the name, path and type of the handlers in the webconfig file in the
System.webserver tag .
System.webserver => handlers. Please find the above code snippet for this.
<!--System.webserver =>
handlers.-->
<system.webServer>
<handlers>
<add verb="GET,HEAD" name="MVCResourceHandler" path="MvcResourceHandler.axd"
type="Syncfusion.Mvc.Shared.MvcResourceHandler,
Syncfusion.Shared.Mvc" validate="false" />
<add name="syncfusion_generate" path="syncfusion_generate.ashx" verb="*" type="Syncfusion.Web.UI.WebControls.Chart.ChartWebHandler,Syncfusion.Chart.Web" />
</handlers>
</system.webServer>
If
you are running the chart application in the local machine via Visual studio,
then it’s enough to add the handlers in “httpHandler” tag. But for hosting it,
you have to add the same in webserver handler tag too.
Step
2) Configure the Layout.cshtml file to use Syncfusion controls
1) Import the JS file onto Layout.cshtml
page (For Reference : http://help.syncfusion.com/ug/asp.net%20mvc/chart/documents/addingscripts3.htm)
2) Adding Style and Script Manager on to
Layout.cshtml (For Reference : http://help.syncfusion.com/ug/asp.net%20mvc/chart/documents/addingstylemanageran.htm)
3) Add the code for chart control in
View page (For Reference : http://help.syncfusion.com/ug/asp.net%20mvc/chart/documents/creatingthechartcont2.htm)
4) Refer the attached sample for chart
Also,
Please refer the below online documentation link to add Grid control in
application.
Please
let us know if any concerns.
Regards,
Vijayabharathi
This does work with some other issues (known bugs, such as medium trust).
BTW, if the DLLs are not installed in the GAC then the assemblies section is not required and will cause an exception.
Is it possible to get the latest (or any version) DLLs without installing the complete Syncfusion Studio? In some case I just need to get the latest files for an existing or new project.
Or, I'm about to reload this machine (I do it every ~6 months) and would prefer not to install the studio - I just want the files.
Where can I get instructions like this for the gridgrouping control? Are these instructions not part of your documentation or am I just missing something? I have not seen anywhere that explains what references need to be added to a project to use a specific control.
Same problem here.
We did not manage to get ANY of the Syncfusion Controls to work in an existing MVC 4 Project.
Very frustrating.
The documentation seems to address an older Version (11). As we figured out dlls have been removed or renamed.
Where can I get instructions like this for the gridgrouping control? Are these instructions not part of your documentation or am I just missing something? I have not seen anywhere that explains what references need to be added to a project to use a specific control.Same problem here.
We did not manage to get ANY of the Syncfusion Controls to work in an existing MVC 4 Project.
Very frustrating.
The documentation seems to address an older Version (11). As we figured out dlls have been removed or renamed.
Hi Lyndon Charles,
Thank you for using syncfusion products.
Query 1: Where can I get instructions like this for the gridgrouping control?
For Asp.net Classic Gridgrouping control, you can get the Dlls details from below link:
http://help.syncfusion.com/ug/asp.net/index.html#!Documents/dlls5.htm
For Asp.net MVC Classic Grid control, you can get the Dlls details from below link:
http://help.syncfusion.com/ug/asp.net%20mvc/index.html#!Documents/deploymentrequirements4.htm
http://help.syncfusion.com/ug/asp.net%20mvc/index.html#!Documents/dll3.htm
Query 2: We did not manage to get ANY of the Syncfusion Controls to work in an existing MVC 4 Project.
We are suggest you to use sample creator to create the MVC sample with combination of MVC version and controls.
http://help.syncfusion.com/ug/asp.net%20mvc/index.html#!Documents/usingsamplecreator7.htm
Also for your convenience , we have prepared simple sample with Grid and MVC4. Please find sample from the following link:
Sample:sample.zip
Please let us know if you need any further assistance.
Thanks,
Kavitha Narayanan
Hi Colin,
We are sorry for the inconvenience.
Please refer to the below updated links.
Query 1: Where can I get instructions like this for the gridgrouping control?
For ASP.NET Classic GridGrouping control,
http://help.syncfusion.com/aspnet-classic/grid/installation-and-deployment
For ASP.NET MVC Classic Grid control,
http://help.syncfusion.com/aspnetmvc-classic/grid/installation-and-deployment
Query 2: We did not manage to get ANY of the Syncfusion Controls to work in an existing MVC 4 Project.
We suggest you to use sample creator to create the MVC sample with combination of MVC version and controls.
http://help.syncfusion.com/extension/aspnet-mvc-extension/step-by-step-installation
http://help.syncfusion.com/extension/aspnet-mvc-extension/sample-creator
Regards,
Kavitha N.
Hi Taviz,
Thanks for the update.
Please find the sample response below,
Gantt Control:
We can create Gantt Control which refers scripts and theme files from the layout page and you can find the sample from the following location.
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/GANTTL~11505721726.ZIP
Diagram Control:
We suggest you to use sample creator to create the MVC sample with combination of MVC version and controls.
http://help.syncfusion.com/extension/aspnet-mvc-extension/step-by-step-installation
http://help.syncfusion.com/extension/aspnet-mvc-extension/sample-creator
Also you can use custom script generator to get the individual script file and theme files.
http://csg.syncfusion.com/combine
Please refer to the sample below.
Sample:http://www.syncfusion.com/downloads/support/forum/121700/ze/simplesample883787642
Regards,
Mahalakshmi K.
This does work with some other issues (known bugs, such as medium trust).
BTW, if the DLLs are not installed in the GAC then the assemblies section is not required and will cause an exception.
Is it possible to get the latest (or any version) DLLs without installing the complete Syncfusion Studio? In some case I just need to get the latest files for an existing or new project.
Or, I'm about to reload this machine (I do it every ~6 months) and would prefer not to install the studio - I just want the files.