Version 1.4.95.0 Wisej.Web.Control.Controls possible bug

0
0

Hi,

I just updated to version 1.4.95.0 and can no longer use some collection functions on control.Controls.

The following worked prior to this version:
var ctls = ctl.Controls.Cast<Control>().ToList();
(where ctl is a Wisej.Web.Control)

I can workaround this change with a foreach loop:
var ctls = new List<Control>();
foreach (Control child in ctl.Controls)
{
ctls.Add(child);
}

But it is less elegant.  Note ctl.Controls.ToList() and ctl.Controls.ToArray() also now fail.

Regards,
Neil

  • You must to post comments
0
0

Hi Neil,

thanks for your message.

This bug is logged as WJ-8968 and already fixed.
It will be included in the next release.

See here: https://wisej.com/support/question/linq-error-with-version-1-4-95

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.