Hi there,
I created a new form in the Data List module and saved it. When I return to the module to edit fields, the "Click here to add a new field" button is broken. Nothing happens in the UI and under the hood I get a 500 Exception saying "Unable to cast object of type 'Dynamicweb.Controls.CheckBox' to type 'System.Web.UI.WebControls.CheckBox'". Full stack trace below. Is this a bug or am I missing something?
Server Error in '/' Application.
Unable to cast object of type 'Dynamicweb.Controls.CheckBox' to type 'System.Web.UI.WebControls.CheckBox'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Unable to cast object of type 'Dynamicweb.Controls.CheckBox' to type 'System.Web.UI.WebControls.CheckBox'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidCastException: Unable to cast object of type 'Dynamicweb.Controls.CheckBox' to type 'System.Web.UI.WebControls.CheckBox'.]
Dynamicweb.Admin.DataManagement.EditForm.formFields_NewRowInitialize(Object sender, EditableGridRowEventArgs e) +364
Dynamicweb.Controls.EditableGrid.OnNewRowInitialize(EditableGridRowEventArgs e) +46
Dynamicweb.Controls.EditableGrid.RaisePostBackEvent(String eventArgument) +377
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1735
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1586.0