1

Resolved

Handle error in TemplateFoundation.WebControls.PropertyControls.PropertyStringControl.Render

description

If the Controls is empty or doesn't contain any controls, this will cast an exception of type: ArgumentOutOfRange exception. Since this is relatively hard to handle in the .aspx page, I'm not sure if this should be handled in the control.
 
What I mean is that a check if the Controls Array is empty or contains 0 items, then perhaps return or only use base.Render(writer).
 
Without the source code, this error is really hard to find and find the source of.

comments

tednyberg wrote Jun 15, 2011 at 12:40 PM

This has been fixed in the latest version of ETF 1.2 (1.2.0.3).

wrote Feb 13, 2013 at 10:33 PM

wrote May 16, 2013 at 4:25 AM

wrote May 16, 2013 at 4:25 AM

wrote Jun 14, 2013 at 7:45 AM