The requested page is not available for the requested platform. You are viewing the content for Default platform.

ObjectDataSourceFillParameters.DataFields Property

Gets or sets fields that will fall into the data source.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

public string[] DataFields { get; set; }
Public Property DataFields As String()

Property Value

Type Description
String[]

An array of String values that specify names of the required fields.

Examples

This example shows how to bind the ASP.NET MVC Dashboard extension to the Object Data Source and supply it with data using a custom fill service by implementing a IObjectDataSourceCustomFillService interface. In this example, the ObjectDataSourceFillParameters.DataFields parameter is used to load data only for required fields.

using System.Web.Mvc;

namespace MVCxDashboard_CustomFillService.Controllers
{
    public class HomeController : Controller
    {
        // GET: Home
        public ActionResult Index()
        {
            return View();
        }
    }
}
See Also