Available in the Full Version
Dialog Window - ASP.NET MVC
This example demonstrates how to use the ASP.NET MVC helper for the dialog window.
This sample uses CTP (Community Technical Preview) features. The API and behavior may change when these features are released with full support.
This sample is designed for a larger screen size.
On mobile, try rotating your screen, view full size, or email to another device.
Code View
Copy to Clipboard
@using Infragistics.Web.Mvc <!DOCTYPE html> <html> <head> <title></title> <!-- Ignite UI for jQuery Required Combined CSS Files --> <link href="http://cdn-na.infragistics.com/igniteui/2024.2/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" /> <link href="http://cdn-na.infragistics.com/igniteui/2024.2/latest/css/structure/infragistics.css" rel="stylesheet" /> <script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.8.3.js"></script> <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script> <script src="http://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script> <!-- Ignite UI for jQuery Required Combined JavaScript Files --> <script src="http://cdn-na.infragistics.com/igniteui/2024.2/latest/js/infragistics.core.js"></script> <script src="http://cdn-na.infragistics.com/igniteui/2024.2/latest/js/infragistics.lob.js"></script> </head> <body> <div id="dialog"> <p> <img style="width: 100%" src="http://www.igniteui.com/images/samples/dialog-window/content.jpg" /> </p> </div> @(Html.Infragistics() .Dialog() .ContentID("dialog") .Height("300px") .Width("280px") .Render() ) </body> </html>
using System.Web.Mvc; namespace IgniteUI.SamplesBrowser.Controllers { public class DialogWindowController : Controller { [ActionName("aspnet-mvc-helper")] public ActionResult BasicMvcHelper() { return View("aspnet-mvc-helper"); } } }