There are certain situations where we need to change an AX bound field to AX Hyperlink bound field in a web user control. I have listed out the required steps which need to be performed in order to do the needful.
1. Open the Web user control in visual studio. For detailed information on how to open a web user control & edit in Visual Studio please refer the AX Developer help.
2. Once you have the web user control added to web project in VS, open the HTML source of the control.
3. Replace the AxBoundField tag with the AxHyperLinkBoundField tag for desired column. Make sure to replace the end tag as well.
4. Now switch back to Design mode, select the grid and click on Edit Columns to edit the column property.
5. You will notice that the MenuItem property is enabled for the changed field as it is now hyper link bound field. This property will only be available for AXHyperLinkBoundFields.
6. Provide the menu item (AX Webmenuitem of type URL object) name to the property to set the hyperlink.
7. Follow the standard AX procedure to deploy the changes back to AX. For more detailed information on how to deploy the changes back to AX please refer Dynamics AX developer help.
1. Open the Web user control in visual studio. For detailed information on how to open a web user control & edit in Visual Studio please refer the AX Developer help.
2. Once you have the web user control added to web project in VS, open the HTML source of the control.
3. Replace the AxBoundField tag with the AxHyperLinkBoundField tag for desired column. Make sure to replace the end tag as well.
4. Now switch back to Design mode, select the grid and click on Edit Columns to edit the column property.
5. You will notice that the MenuItem property is enabled for the changed field as it is now hyper link bound field. This property will only be available for AXHyperLinkBoundFields.
6. Provide the menu item (AX Webmenuitem of type URL object) name to the property to set the hyperlink.
7. Follow the standard AX procedure to deploy the changes back to AX. For more detailed information on how to deploy the changes back to AX please refer Dynamics AX developer help.
1 comment:
Hello, your readers might be interested in attending Microsoft Dynamics™ AX Executive Briefing- Bloomington, MN on May 20, 2009, to learn how you can benefit from Microsoft Dynamics AX! . You'll get a chance to hear Kirill Tatarinov (Corporate Vice President, Microsoft Business Solutions) share his worldwide vision about the future impact of business applications and Microsoft’s role in an ever-challenging economic environment. Here is link for more information http://www.interdynbmi.com/news_events/MicrosoftDynamicsAXEvent.htm
Post a Comment