The WindowDataBound event is raised for each popup window after it’s data bound to the corresponding data from the specified data source. This event enables you to customize settings the related popup window before it is finally rendered. Handling the WindowDataBound event correctly you can, for example, implement a custom logic to dynamically map properties of a popup control’s windows to the required data fields.
The processed popup window can be accessed by using the PopupWindowEventArgs.Window property of the event’s argument.
If the control functions in unbound mode, the WindowDataBound event isn’t raised.
The following example demonstrates how you can handle the WindowDataBound event, to bind the PopupWindow’s FooterText property to the Suite attribute manually
<Products><PlatformText="ASP.NET Controls"ImageUrl="~/Images/asp.png"><ComponentName="ASP.NET Control1"Suite="ASPxEditors"HeaderText="ASPxCalendar"Text="The calendar control that allows dates to be selected and provides you with a quick way of navigating through months and years."HeaderImageUrl="~/Images/ASPxCalendar.gif"/><ComponentName="ASP.NET Control2"Suite="ASPxperience"HeaderText="ASPxMenu"Text="A navigation menu control."HeaderImageUrl="~/Images/ASPxMenu.gif"/><ComponentName="ASP.NET Control3"Suite="ASPxperience"HeaderText="ASPxSplitter"Text="A splitter control allowing you to easily organize the web page content layout by dividing it into several content panes."HeaderImageUrl="~/Images/ASPxSplitter.gif"/></Platform>
...
</Products>