Need a special offer?Find out if your project fits.
+

.net controls

Answered
kartik bennet asked on July 22, 2020

Hello ,
Previously when I tried using the .net dll it gave me errors.Please advise where I can find the latest .net packages and also can I get some sample demo projects making use of the .net library.

1 answer

Public
Vera Didenko Vera Didenko Flexmonster July 23, 2020

Hello, Kartik,
 
Thank you for writing to us. 
 
Flexmonster is a JavaScript web-based pivot table component.
Please kindly note that using Flexmonster as a DLL for .NET projects is deprecated and not compatible with the latest version of Flexmonster. 
Now for .NET projects, the recommended approach is to simply embed Flexmonster into an HTML page.
 
For instance: 

<div id="pivot-container">The component will appear here</div>
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>

<script>
var pivot = new Flexmonster({
container: "pivot-container",
componentFolder: "https://cdn.flexmonster.com/",
toolbar: true
});
</script>

Here is a simple JSFiddle example for illustration: http://jsfiddle.net/flexmonster/L54jrsp5/
 
We would like to explain that currently, we have a .Net Core example available on GitHub. Although it is not the .Net Framework, the way Flexmonster is embedded should work the same for the .Net Framework. Here is how flexmonster.js is included in a .Net Core project: https://github.com/flexmonster/flexmonster-data-server-dll/blob/master/DemoDataServerCore/Views/Home/Index.cshtml#L4.
And here is how Flexmonster is initialized: https://github.com/flexmonster/flexmonster-data-server-dll/blob/master/DemoDataServerCore/wwwroot/js/site.js#L24.
 
 
Please let us know if this works. If additional questions arise, please feel free to reach out. 
 
Kind regards, 
Vera

Please login or Register to Submit Answer