This project is read-only.
1

Resolved

Comma after caption attribute

description

The is a comma missing after the caption attribute. This causes the custom attributes to not be added.
 
This is in the GridControl.cs, Render method
Not sure of the line number (added comments for documentation)
 
             sb.AppendFormat("caption: \"{0}\"", _caption);
Should be: sb.AppendFormat("caption: \"{0}\",", _caption);
 
If there is a better way to reports these let me know :)

comments

PhilmanCJ wrote Jun 3, 2011 at 6:47 PM

Actually, this would cause a issue with the subGrid, the better solution would be to switch the line above so the result is:
        if (!string.IsNullOrEmpty(_attributes)) sb.AppendLine(_attributes);
        sb.AppendFormat("caption: \"{0}\"", _caption);

sternr wrote Jun 4, 2011 at 8:14 PM

Fixed in changeset 67622. to allow backward compatability, the grid remove leading commas from the AdditionalAttributes value

wrote Feb 22, 2013 at 12:15 AM

wrote May 16, 2013 at 11:48 AM

wrote May 16, 2013 at 11:48 AM

wrote Jun 14, 2013 at 8:25 AM