Hello,
You can add a new button to the BizForm web part (
~\CMSWebParts\BizForms\bizform.ascx.cs):
<asp:Button runat="server" ID="asdasd" OnClick="OnClick" />and use the following code that should reset all BizForm's fieds in its
OnClick handler:
protected void OnClick(object sender, EventArgs e)
{
foreach (DictionaryEntry field in viewBiz.BasicForm.FieldEditingControls)
{
if (field.Value is EditingFormControl)
{
((EditingFormControl)field.Value as EditingFormControl).Value = null;
}
}
}
Best regards,
Michal Legen