Popup Window

Data Binding


Manhattan Bar

Pie

Bar & Line

Bar Stacked

Gantt
To invoke a popup window move the mouse cursor
over the menu's items on the left

Note: The sample images which are used in this demo were created with the XtraCharts suite.

This demo illustrates the XML binding options available to you when using the DevExpress MVC Popup Extension. To invoke a popup window, move the mouse pointer over menu items displayed on the left.

The MVC Popup Extension provides a number of data binding methods, including Bind, BindToSiteMap, and BindToXML. In this demo, the MVC Popup Extension uses the BindToXML method to bind to a Charts.xml file and obtain data from its <Charts> element.

Our ASP.NET MVC controls allow you to bind their template controls directly to the corresponding fields of a data source's data object (DataItem). To accomplish this, use the DataBinder.Eval method, and pass Container.Window.DataItem and a field name as method parameters. In the demo, the DataBinder.Eval method is used to bind template controls of a popup window's content region and footer, via the SetWindowContentTemplateContent and SetWindowFooterTemplateContent methods. For the content region, the BigImageUrl field provides the Image control with ImageUrl property values. For the footer, the View bound field provides a label's text.

Version: v2013 vol 1.4
Copyright © 2006-2013 Developer Express Inc
Experience the DevExpress Difference Today

All demos ship with full source code and are included in the DevExpress ASP.NET installation. Refer to the Demos and Sample Applications topic to learn more.

To download your free evaluation copy of our award-winning ASP.NET AJAX Controls and MVC Extensions, visit the DevExpress Downloads page

All DevExpress ASP.NET Controls ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions.
To obtain pricing information, visit the Pricing Options page, or contact us via email at info@devexpress.com,
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.