Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1010
MVC PartialView with igDialog and igGrid
posted

I'm trying to display a partial view containing a igGrid within the igDialog. 

@model MyNameSpace.MyModel

@(Html

.Infragistics()
.Dialog()
.ID("dialog1")
.PinOnMinimized(false)
.Container("#body-content")
.Pinned(false)
.Modal(false)
.Draggable(true)
.Resizable(true)
.TrackFocus(false)
.ShowMinimizeButton(true)
.ShowMaximizeButton(true)
.ShowPinButton(true)
.Width("750px")
.Height("550px")
.MinWidth(450)
.MinHeight(250)
.EnableDblclick(false)
.ShowFooter(true)
.ShowHeader(true)
.CloseOnEscape(false)
.HeaderText(MyModel.WindowName)
.ContentHTML
(

 "

"
)

.Render()
)

@(Html.Infragistics().Grid()
.ID("hierarchicalGrid1")
.DataSource(MyModel.DataTable)
.DataBind()
.Render())

Is this the correct way to do this ?

How would I embed and igGrid or igHierarchicalGrid inside a igDialog using a MVC helper ?

Parents
No Data
Reply Children
No Data