Dec 15, 2010, 6:21 PM
[1.0] CustomConfig produces error
Hallo,
I covered a bug where invalid JS is generated. If you specify a ConfigItem with an empty value (String.Empty), JS misses a semicolon.
Steps to reproduce:
- Place a Grid Panel onto an empty web page.
- Insert code behind:
I covered a bug where invalid JS is generated. If you specify a ConfigItem with an empty value (String.Empty), JS misses a semicolon.
Steps to reproduce:
- Place a Grid Panel onto an empty web page.
- Insert code behind:
protected void Page_Load(object sender, EventArgs e)
{
this.GridPanel1.Store.Add(new Store());
Column column = new Column();
column.ColumnID = "Column 1";
column.CustomConfig.Add(new ConfigItem("Test", ""));
this.GridPanel1.ColumnModel.Columns.Add(column);
}