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 ?
igDialog ContentID