-
Kendo UI Grid in Sitefinity MVC Control
I've recently been working quite a bit with the Kendo UI toolkit, in particular with the grid. I've found that sometimes, mostly when the grid is first loaded, the filter parameter is null. When this happens, the the model binding doesn't work, and the correct ActionResult method is never called. In my case this has been when the grid is in an MVC user control in a Sitefinity implementation. I don't think there is a general error with the grid, since I wasn't able to find much on this in searches.
-
Dynamic Predicate Building - Part 1
There are many great blog posts on dynamic predicate building for c# and LINQ, many of which center on the venerable Alabahari PredicateBuilder. And in most of those blog posts there is a comment to the effect - But what if I don't know which fields/tables will be queried? Well that is a requirement many developers would like to avoid, but, of course, it does happen.
-
Dynamically Generated Excel in ASP.Net
Your users need to download data in Excel format, or they need their data plus some formulas built in, for data that is dynamically queried from the database. In this article I will take a list of some custom object, serialize it into XML, then use XSLT to generate a real live Excel (xml format) file, and send it to the browser. The XSLT file will start out as a blank xml formatted Excel file and it will be transformed into an XSLT with fields for your data and formulas on that data.
-
Get Sharepoint Resources in Sitefinity
Sitefinity now has a Sharepoint connector, but you do need the license for that. This post will show you how to manually use the Sharepoint asmx List web service to get resources from Sharepoint into your Sitefinity implementation.