Version

DataSourceActionAttribute Class

This is an attribute class, which extends the mvc FilterAttribute. It should be put on top of a controller's method, which should return JSON (even though in the user code it will return Action Result). If that attribute is used for FunnelChart or Sparkline, then only fields used by those charts are passed to client. Otherwise, all data are passed to client: similar to Controller.Json(data)
Syntax
'Declaration
 
Public Class DataSourceActionAttribute 
   Inherits System.Web.Mvc.FilterAttribute
public class DataSourceActionAttribute : System.Web.Mvc.FilterAttribute 
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub