How to Show Grid in a Popup

Apr 1, 2014 at 12:08 PM
Asp.net MVC , could any one tell me how to show the grid in popup ???
Coordinator
Apr 1, 2014 at 12:48 PM
Edited Apr 1, 2014 at 6:04 PM
you need an action that returns a view with a grid in it,
and after that you can declare a popup that has that action as url

same as here: http://demo.aspnetawesome.com/PopupDemo (Popup with content requested via ajax)
<%:Html.Awe().PopupActionLink().Name("p2")
        .Url(Url.Action("Meals"))
        .LinkText("Open Popup")
        .Width(500)
        .Height(450)%>
except in that example there's an ajaxlist in that view