UpdateOnPostBack property of AXForm

If you need to read the values that the user entered in a text box before the record is committed to filter the possible values for the second text box then first you should set the autopostback property of the AxBoundField to true. Also you need to set the UpdateonPostback property of the AXForm. UpdateonPostback…


Add all Role Centers to AX Client Favorites for demo purpose

Run this job in AX Client to add all oob role centers to your favorites section in AX Client for easy demo purpose.  static void AddRoleCentersToFavorite(Args _args){str sDefault =”Default”;SysProfiles uprofile;MenuFunction mf;TreeNode treeNode;    TreeNodeIterator iterator;    TreeNode newTreeNode;    UserMenuList userMenu;    Menu menuNode;    #AOT;  treeNode = infolog.userNode();    iterator = treeNode.AOTiterator();    treeNode = iterator.next();    if (treeNode)    {        userMenu =…


How to set focus on the asp.net textbox in AxPopup form?

To set the focus include this method in your page that is opened in the popup window and call the method without control name in the page load event. For example to set the focus on txtCustAccount   protected void Page_Load(object sender, EventArgs e)     {                 SetFocus(txtCustAccount);     }   public static void…


AxPopup Controls in EP

AxPopup Controls AxPopup controls are used to open a page in a popup browser window and upon closing a popup page, pass data from the popup page back to the parent page and trigger an OnPopupClosed server event on the parent. This functionality is encapsulated in two controls – AxPopupParentControl to be used in the…


Redirecting in EP user control to download a file

If you have a webpage to generate files such as word doc or pdf and you need to invoke them in a button click event of  an user control used in EP and allow the user to download the file through the browser. generally you would think of calling response.redirect function. This function  redirects to the…


Persisting Filter conditions in EP Grid

Persisting Filter condition in EP Grid In AX 2009, EP grid control comes with an advanced filter. Here is a code to persist the filter condition the user last entered in a page for that user, so that later when the user comes back to the same page the last filter is applied and user…


Screencast – How to set up Enterprise Portal (EP) in a Network Load Balancing (NLB) MOSS 2007 cluster

Anunay Kumar from the Enterprise Portal test team created a step-by-step guide on setting up SharePoint in NLB http://blogs.msdn.com/epblog/attachment/9727309.ashx and the screencast on setting up EP on such NLB web farm http://msdn.microsoft.com/en-us/dynamics/ax/ee384254.aspx. This screencast and more videos are available at “How do I” Videos – Dynamics AX section. Thanks Anunay and we are excited to see…


Enterprise portal application functionality overview document

Jim Brotherton created this very useful document that describes the modules, features and business tasks that user perform in Enterprise Portal http://www.microsoft.com/downloads/details.aspx?FamilyID=0a0abfc4-964f-43ee-ad26-3d5d4c156269&displaylang=en. We have produced lots of good documentation for EP in AX 2009 and continue to look for ways to adding even more. If you have suggestions, please post a comment to this blog…


Record Context

Steve Kubis from the UA team recented added the topic about Context in Enterprise Portal. It’s talks about common context scenraios http://msdn.microsoft.com/en-us/library/ee330228.aspx and how the framework enables this without any code and an advanced topic on how to use it in code http://msdn.microsoft.com/en-us/library/ee330227.aspx. Thanks Steve