PopupControlSettingsBase.SetContent(String) Method
Allows you to custom render the content of all popup windows (or a dock panel).
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
Name | Type | Description |
---|---|---|
content | String | A string value representing the content. |
Remarks
@Html.DevExpress().PopupControl(settings => {
settings.Name = "PopupControl";
// ...
settings.SetContent(() => {
ViewContext.Writer.Write("<div id='containerDiv' style='height:100%; widht:100%'>");
Html.RenderAction("GridViewPartial");
ViewContext.Writer.Write("</div>");
});
// ...
Online Example
See Also