We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Getting a simple grid to work.

Thread ID:





109794 Jul 3,2013 02:39 PM UTC Jul 4,2013 12:37 PM UTC ASP.NET MVC (Classic) 1
Tags: Grid
William Humphreys
Asked On July 3, 2013 02:39 PM UTC

I find the documentation for the grid  all over the place and difficult to understand.

All I want to do is simply return an IEnumerable (from where ever however). Pass it to a property set in the viewmodel and pass that viewmodel to the page. This should be pretty simple and pretty standard practice.



 public class FooViewModel {

    public IEnumerable<Object> someFooCollection { get; set; }


public ActionResult Default() {

      FooViewModel fooViewModel = new FooViewModel();

      fooViewModel.someFooCollection = GetTheIEnumerableData();

      return View( fooViewModel );


@model (VIEWMODELNAMSPACE............)

    ViewBag.Title = "Default";
    Layout = "~/Views/Shared/_Layout.cshtml";

@(Html.Syncfusion().Grid ?????????????????????????????????

What do I put here.

And I especially dont want to be passing ViewData in any way.

Abdul Matin M [Syncfusion]
Replied On July 4, 2013 12:37 PM UTC

Hi William,


Thanks for your interest in Syncfusion products.


We have created a sample to your requirement in the incident ID #110310. Could you please follow up the incident.


Could you please use that sample and get back to us if you have any queries.



Let us know if you have any concerns.




Abdul Matin M


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon