Posted By: meysun | Jun 25th, 2008 @ 12:35 PM | 6,842 Views | 1 Comment

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

Media Downloads:
Rating:
1
0

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.

 

 

Microsoft Communities