Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Data Lists module broken?

Data Lists module broken?

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

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


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

For the record, the button also doesn't work on new forms, so you're limited to the number of controls that are predrawn on the screen when creating a new form.

 
Nicolai Pedersen
Reply

Sent to QA for verification, testing and fixing.

Sorry for the inconvenience!

BR Nicolai

 
Oleg Rodionov
Reply

Hi all.

New TFS 28945 has been created against the bug, thanks.

BR, Oleg QA

 

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Imar

The problem TFS#28945 "Datalist module broken" has now been fixed in version 9.1.4

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum