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

Download this episode

Description

Hello and welcome to another Microsoft Dynamics Ax 2009 Enterprise Portal screencast.

This how-to video demonstrates how to create a simple Tunnel(Wizard) Page in Enterprise Portal using ASP.net Wizard control and EP AxForm control.

Enjoy the show!
Mey Meenakshisundaram
http://blogs.msdn.com/solutions
http://blogs.msdn.com/epblog

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      tutoo

      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
      david

      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.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.