This is a migrated thread and some comments may be shown as answers.

Dont Know (Grid)

0 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kiang
Top achievements
Rank 1
Kiang asked on 10 Apr 2012, 11:26 AM
[SOLVED]

namespace Telerik.Web.Mvc.Examples
{
    using System;
    using System.Web.Mvc;
    using Telerik.Web.Mvc.Examples.Models;
    public partial class GridController : Controller
    {
        public ActionResult FirstLook(bool? ajax, bool? scrolling, bool? paging, bool? filtering, bool? sorting,
            bool? grouping, bool? showFooter)
        {
            ViewData["ajax"] = ajax ?? true;
            ViewData["scrolling"] = scrolling ?? true;
            ViewData["paging"] = paging ?? true;
            ViewData["filtering"] = filtering ?? true;
            ViewData["grouping"] = grouping ?? true;
            ViewData["sorting"] = sorting ?? true;
            ViewData["showFooter"] = showFooter ?? true;
            return View(GetOrderDto());
        }
        [GridAction]
        public ActionResult _FirstLook()
        {
            return View(new GridModel(GetOrderDto()));
        }
    }
}




What is the meaning of "GetOrderDto()"?? What can i replace on it?
Tags
General Discussions
Asked by
Kiang
Top achievements
Rank 1
Share this question
or