IT tutorials
 
Applications Server
 

Microsoft Dynamic AX 2009 : Developing Web User Interface Components (part 5) - BoundField Controls, Web Parts

1/12/2013 5:53:20 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

BoundField Controls

BoundField controls are used by data-bound controls (such as AxGridView, AxGroup, ASP.NET GridView, and DetailsView) to display the value of a field through data binding. They are displayed differently depending on the data-bound control in which they are used. For example, the AxGridView control displays a BoundField object as a column, whereas the AxGroup control displays it as a row.

The Enterprise Portal framework provides a number of enhanced AxBoundField controls that are derived from ASP.NET-bound field controls but integrated with the Dynamics AX metadata.

Table 1 describes the AxBoundField controls.

Table 1. AxBoundField Controls
TypePurpose
AxBoundFieldYou use AxBoundField to display text values. The DataSet, DataSetView, and DataField properties define the source of the data.
AxHyperLinkBoundFieldYou use AxHyperLinkBoundField to display hyperlinks. You use the MenuItem property to point to a Web menu item in the AOT for generating the URL and the DataSet, DataSetView, and DataField properties to define the source of the data. If the Web menu name is stored within the record, you use DataMenuItemField instead of MenuItem.
AxBoundFieldGroupYou use AxBoundFieldGroup to display FieldGroups defined in the AOT. The DataSet, DataSetView, and FieldGroup properties define the source of the data.
Other BoundFieldsYou use AxCheckBoxBoundField to display a boolean field in a check box, AxDropDownBoundField to display a list of values in a drop-down menu, and AxRadioButtonBoundField to display a list of values as radio buttons. For all these properties, you use DataSet, DataSetView, and DataField to define the source of the data. For a radio button, you use RepeatDirection to define whether the radio button should be rendered horizontally or vertically.

Depending on the field type, BoundFieldDesigner automatically groups fields under the correct BoundField type. The BoundField type displays text that allows you to control the lookup behavior through the LookupButtonDisplaySettings property and the lookup event.

Web Parts

Web parts are pluggable and reusable Windows SharePoint Services components that generate HTML and provide the foundation for the modular presentation of data. Web parts are easily integrated to assemble a Web page and support customization and personalization. Enterprise Portal comes with a standard set of Web parts, including the following, that expose the business data from Dynamics AX:

  • Dynamics User Control Used for hosting any ASP.NET control. The Dynamics User Control Web part points to a Managed Web Content Item that secures the Web control. The Dynamics User Control Web part can serve as a provider, a consumer, or both when connected with other Web parts. The Web part role property defines the role and is used to pass or record context and refresh the control using AJAX without the entire page being refreshed.

  • Dynamics Infolog Web Part Used for displaying Dynamics AX Infolog messages on the Web page. When you create a new Web part page, Enterprise Portal page templates automatically add the Infolog Web Part to the new Web part’s header zone. Any error, warning, or information message Dynamics AX generates is automatically displayed by the Dynamics Infolog Web Part. If you need to display some information from your Web User Control in the Dynamics Infolog Web Part, you need to add the message to the C# proxy class for the X++ Infolog object.

  • Dynamics Page Title Used for displaying the page title and the browser title. When you create a new Web part page, the Dynamics Page Title Web part is automatically added to the title bar zone. By default, the Dynamics Page Title Web part displays the title information specified in the PageTitle property of the Page Definition node in the AOT. If no page definition exists, the page name is displayed. You can override this default behavior and make this Web part get the title from any other Web part in the Web page by using a Web part connection. For example, if you’re developing a list page and you want to display some record information, such as Customer Account and Name as the page title, you can connect the Dynamics User Control Web part that displays the grid to the Dynamics Page Title Web part. When you select a different record in the customer list, the page title and the browser title change to display the currently selected Customer Account and Name.

  • Dynamics QuickLaunch Used for displaying navigation links on the left side of pages in Enterprise Portal. When you create a new Web part page, the Dynamics QuickLaunch Web part is automatically added to the Left Column zone if the template that you chose has this zone. The Dynamics QuickLaunch Web part displays the Web menu set in the QuickLaunch property of the Web module in the AOT for that page. All the pages in a given Web module (subsite) display the same left navigation.

  • Dynamics Left Navigation Used to display page-specific navigation instead of module-specific navigation if necessary. You would then use the Dynamics Left Navigation Web part instead of the Dynamics QuickLaunch Web part.

  • Dynamics Toolbar Used to display the toolbar at the page level. The Web menu property points to the WebMenu node in the AOT. The toolbar is generally connected to the Dynamics User Control Web part, which displays a grid or form for taking action. You can write code in the Web User Control displayed by the Dynamics User Control Web part to control the toolbar behavior rendered by the Dynamics Toolbar Web part.

  • Dynamics unified Worklist Used to display workflow action, alert notification, and tasks, generally in the Role Center or on the Home page.

  • Dynamics Report Server Report Used to display SQL Server Reporting Services for Dynamics AX.

  • Cues Used to display information as a visual paper stack in Role Centers. 

  • Quick Links Used to display shortcuts to frequently used menu items in Role Centers.

  • Business Overview Used to display KPIs and historical comparisons in Role Centers. 

Figure 4 shows the Add Web Parts dialog box in Enterprise Portal.

Figure 4. Add Web Parts dialog box in Enterprise Portal
 
Others
 
- Microsoft Dynamic AX 2009 : Developing Web User Interface Components (part 4) - AxToolbar, AxPopup
- Microsoft Dynamic AX 2009 : Developing Web User Interface Components (part 3) - AxGroup, AxLookup
- Microsoft Dynamic AX 2009 : Developing Web User Interface Components (part 2)
- Microsoft Dynamic AX 2009 : Developing Web User Interface Components (part 1)
- SharePoint 2010 : Service Applications - Creating the Secure Store
- SharePoint 2010 : Service Applications - Managing a service
- System Center Configuration Manager 2007 : Proving the Concepts (part 2) - Testing in the POC Phase
- System Center Configuration Manager 2007 : Proving the Concepts (part 1) - Building the Proof of Concept Environment
- BizTalk Server 2009 : Administrative Tools (part 4) - MSBuild
- BizTalk Server 2009 : Administrative Tools (part 3) - ExplorerOM
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us