This is a migrated thread and some comments may be shown as answers.

Trial version features missing?

4 Answers 354 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Larry
Top achievements
Rank 1
Larry asked on 24 Apr 2017, 01:57 PM

Using the most recent version of the trial for MVC UI and I'm unable to get some important features working, for example the gird filter ROW option and the Excel file export.  

Please advise should I have all features enabled in the trial and if not, how can I evaluate properly?

For example for both of these I get errors (Excel shown). When I take out the offending line it's all good.

   
        .Excel(excel => excel
        .FileName("Customer List.xlsx")
         )

     

Compilation ErrorDescription: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS1061: 'Kendo.Mvc.UI.Fluent.GridBuilder<KendoUI.Sasco.Dashboard.Models.CustomerViewModel>' does not contain a definition for 'Excel' and no extension method 'Excel' accepting a first argument of type 'Kendo.Mvc.UI.Fluent.GridBuilder<KendoUI.Sasco.Dashboard.Models.CustomerViewModel>' could be found (are you missing a using directive or an assembly reference?)

If I refer to the kendo.mvc.dll in the distribution folder I get a license error - the reference that exists is to the example/sample folder that I downloaded.

4 Answers, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 26 Apr 2017, 09:33 AM
Hello Larry,

I was able to partly reproduce the error you are describing here when I deleted the reference to the Kedno.Export.dll. This leads me to believe that you may not have that .dll in the project.

Could you please confirm that it is included in the project?

It should be in the folder below, then just add a reference to the project:

~\telerik.ui.for.aspnetmvc.2017.1.223.trial\Kendo.Mvc.Export\binaries\net40

In addition to that, the Kendo UI Excel Export uses JSZip. Although it will not cause an error in Visual Studio, I thought I should mention it nonetheless:

http://docs.telerik.com/kendo-ui/framework/excel/introduction#jszip

It would be most helpful if you are able to provide more details - an isolated runnable example would be best. Also, are there any errors in the console?

Regarding the license expiration message - I was not able to reproduce that when I downloaded the latest trial version. Have you ever installed another Kendo UI (ASP.NET MVC) that is possibly cached? If yes, then I can suggest following the steps from:

http://docs.telerik.com/aspnet-mvc/introduction#troubleshooting

Look forward to hearing back from you.

Regards,
Alex Hajigeorgieva
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
0
Larry
Top achievements
Rank 1
answered on 26 Apr 2017, 12:59 PM

Thanks Alex.

I downloaded a demo which had the dll in it.I believe that I was using the demo before I downloaded the trial. And I downloaded other demos subsequently. When I went into the project I saw it was pointing to a 2014 version, so I found a later version in another demo (C:\Users\Larry\Downloads\ui-for-aspnet-mvc-examples\ui-for-aspnet-mvc-examples-master\window\KendoWindow-Ajax-Form\lib\KENDOUIMVC\2016.3.914.545) and used that and since have not been having this issue. Using this version did solve the license error and the excel error (though I'm still working to get that working).

I've added the js reference below.

Note that my libraries from the demo show  2015 - can I safely update them to a more recent version?

     <link href="https://kendo.cdn.telerik.com/2015.3.1111/styles/kendo.dataviz.min.css" rel="stylesheet">
    <link href="https://kendo.cdn.telerik.com/2015.3.1111/styles/kendo.dataviz.metro.min.css" rel="stylesheet">
    <script src="https://kendo.cdn.telerik.com/2015.3.1111/js/jquery.min.js"></script>
    <script src="http://kendo.cdn.telerik.com/2017.1.118/js/jszip.min.js"></script>

 

Note that there is no kendo.mvc.dll in C:\Users\Larry\Downloads\telerik.kendoui.professional.2017.1.223.trial.
I'll downloading the trial again. Originally I downloaded the whole dev suite.

When I try to use the library in C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R1 2017\wrappers\aspnetmvc\Binaries\Mvc4 or MVC5 - I don't get an error of any sort but no data is returned. To get data, so far I have to use C:\Users\Larry\Downloads\ui-for-aspnet-mvc-examples\ui-for-aspnet-mvc-examples-master\window\KendoWindow-Ajax-Form\lib\KENDOUIMVC\2016.3.914.545\Kendo.Mvc.dll

When use the kendo.mvc.dll in C:\Users\Larry\Downloads\ContainsByDefaultInFilter\ContainsByDefaultInFilter\ContainsByDefaultInFilter\bin  then I do get the license exception for some reason.

[LicenseException: Your trial version of Telerik UI for ASP.NET MVC by Progress has expired. Purchase the commercial version now from www.telerik.com/purchase or extend your trial with 15 more days by contacting trialextend@progress.com] Kendo.Mvc.Infrastructure.Licensing.KendoLicenseProvider.Validate(Type type, Object instance) +303


 

0
Larry
Top achievements
Rank 1
answered on 26 Apr 2017, 01:26 PM

See above but in addition since clearing the cache, the only kendo.mvc.dll that doesn't give me the license error is the 2016 version from above. I can try uninstalling the complete kendo mvc ui package and re-installing if you think that would help. Otherwise I will stick with this version for now so I can be productive.

The excel isn't a priority. There were other features too that weren't working such as the filter row. That works in the 2016 version. Although I'm wondering if there is to daisy-chain the filters, so that they act together? I'd like the filters to act as a logical And. I believe I read a request for this feature and that a custom "manual" method was needed that didn't use the filter row. Is that still the case?

0
Boyan Dimitrov
Telerik team
answered on 28 Apr 2017, 11:41 AM

Hello Larry,

Obviously there is an older version of the Telerik UI for ASP.NET MVC installed on your machine. It seems this might be a bit confusing since sometimes you are referring the old one in your project. You can definitely try to uninstall any older versions and install just the new one to avoid any issues. 

Yes, Kendo UI Professional does not include the wrappers so there should be no dll file in the zip file. 

Regards,
Boyan Dimitrov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Larry
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Larry
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or