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!
@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(
(Html.Infragistics().Grid().ID("hierarchicalGrid1").DataSource(MyModel.DataTable).DataBind().Render().ToHtmlString())
}
.Render())
Still does not work.
Mike,
I'm trying to do the same using MVC, but having no luck. Would you have few seconds to suggest a solution here please.
I'm trying to display a partial view containing a igGrid within the igDialog.
"<table id=hierarchicalGrid1"></table>
@(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 ?
Hello pardeepkgupta,
I am following up to see if the sample provided has resolved this matter.
Please let me know if I may be of further assistance with this matter.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
Thank you for your patience. I have created a sample to demonstrate how you can achieve this behavior.
Please let me know if you have any questions concerning this matter.
Thank you for contacting Infragistics!
We received your support request concerning getting the igGrid as the contents of an igDialog, and this case has been assigned to me. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of your case and I am looking into this matter and will get back to you by the end of the day Friday with more information or questions for you.