Microsoft Dynamics AX 2009 – Creating simple Tunnel(Wizard) Page in Enterprise Portal

Play Microsoft Dynamics AX 2009 – Creating simple Tunnel(Wizard) Page in Enterprise Portal

The Discussion

  • User profile image

    Thanks for the tutorial!!


    I tried creating customer tunnel on the similar lines and succeesded.But now when I am trying to do the same with projects its failing.

    The error message I got is "unable to render control due to an error ". It gave another error

    {ArgumentException: Provided fields do not match the DataSetView data key definition.
    Parameter name: values]
       Microsoft.Dynamics.Framework.Data.Ax.AxViewDataKey.Create(DataSetViewMetadata view, IDictionary`2 values, IndexMetadata[] tableUniqueIndexes) +1405
       Microsoft.Dynamics.Framework.Data.Ax.AxViewDataKey.CreateFromDictionary(DataSetViewMetadata view, IDictionary values, IndexMetadata[] uniqueIndexes) +424
       Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSourceView.ExecuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues) +529
       System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +92
       Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.UpdateRowOnPostBack() +1195
       Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.OnLoad(EventArgs e) +76
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 } .


    When I changed the defaultmode property from insert to readonly it works.The error is generated when navigation between steps are initiated. I am using a wizard with 4 steps of which first 2 steps has either non-editable controls or which generates some events not related to database. The last two steps have AXBound fields. I don't have any clue why this error is coming.

    As a workaround I created the step where the axbound fields are used.Now when I am trying to select some value from the lookup it is giving the same error "unable to render control due to an error" .


    Any help is appreciated.



  • User profile image

    I have a question on wizard button. How can I disable a button when it gets clicked? Im trying to prevent users from clicking a button more than once.

Add Your 2 Cents