Hi
we are struggling with setting igGrid as Content of igDialog. can we have some help on this from you.
we want to display some data to user as a grid in the dialog.
Thanks!
Figured this out.
Thanks
igDialog . ContentID
Any tips here guys ...
Just tried this and got an exception about using single characters in contenthtml, and suggested to use double character.
@{var grid = (Html.Infragistics().Grid<System.Data.DataTable>() .DataSource(Model.DataTable) .DataBind() .Render().ToHtmlString());}
@(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(Model.PageName) .ContentHTML ( grid ) .Render())
Any pointers here please..
This is not correct. I cannot put a table element in contentHTML and reference this as a selector in igGrid.