
Is it possible to save the asp.net control value to ax 2012 directly without using any axboundfields
I have a requirement for selecting Hijri date using calender widget ,widget only works on asp.net textbox only
this textbox I cant use inside the axboundfield. I need to save the selected date to respective field in ax table.
is there any workaround for this scenario.
Thanks in advance.
Regards
*This post is locked for comments
I have the same question (0)***
using Microsoft.Dynamics.AX.Framework.Portal.Data;
DataSetViewRow row;
try
{
// Retrieve the current row.
row = HcmWorkerDS.GetDataSet().DataSetViews["HcmWorker"].GetCurrent();
// Edit the row and change the PersonnelNumber value.
row.BeginEdit();
row.SetFieldValue("PersonnelNumber", "987");
row.EndEdit();
}
catch (System.Exception ex)
{
AxExceptionCategory exceptionCategory;
// Determine whether the exception can be handled.
if (AxControlExceptionHandler.TryHandleException(this, ex, out exceptionCategory) == false)
{
// The exception was fatal and cannot be handled. Rethrow it.
throw;
}
}
***