ToolControlBase..::..SaveDataToObject Method
Override to read form field values and write them into the business object properties.
Namespace:
AdvantageCMS.Core.Admin.BaseClassesAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Examples
C#
protected override void SaveDataToObject() { MyObject.Name = txtName.Text; MyObject.Description = txtDescription.Text; MyObject.Price = (decimal)(txtPrice.Value ?? 0); MyObject.IsActive = chkIsActive.Checked; MyObject.CategoryId = ddlCategory.SelectedValue; }

