Hi Support team,
We have procured dynamic forms source code and are encountering following issue in PaintTheQuestions in Dynamicforms.ascx.vb's PaintTheQuestions
at DirectCast method.
Dim myUC As UserControl = LoadControl("LabelControl.ascx")
DirectCast(myUC, DataSprings.Modules.DynamicForms.LabelControl).ID = "Label_" & di.DynamicQuestionID.ToString
Unable to cast object of type 'ASP.desktopmodules_dynamic_forms_labelcontrol_ascx' to type 'DataSprings.Modules.DynamicForms.LabelControl'
We are are using DNN 5.1.4. Can you please let know
why this issue is occuring?
Thanks,
Dev