FormRow and multiple items in columns

May 26, 2010 at 12:04 AM

I have a Form with this rows

 

 

<ext:FormRow runat="server" ColumnWidths="100%">
                <Items>
                    <ext:TextBox ID="txtFieldname" runat="server" Label="Coluna"></ext:TextBox>
                </Items>
            </ext:FormRow>
            <ext:FormRow runat="server" ColumnWidths="60% 40%">
                <Items>
                    <ext:TextBox ID="txtFieldCaption0" runat="server" Label="Nome (1)"></ext:TextBox>
                    <ext:TextBox ID="txtFieldCaption1" runat="server" Label="Nome (2)"></ext:TextBox>
                </Items>
            </ext:FormRow>        

and always return same javascript error. 

Message: Expected ':'

 

May 28, 2010 at 11:11 AM

Dear developers, i founded problem.

Today i downloaded source code and make a debug and see the light :)

My problem is i live in Portugal and Windows number format in Portugal is a ',' and not '.' i make a temporary solution using a replace of this statement.

From this

columnOB.AddProperty(OptionName.ColumnWidth, columnWidths[columnIndex], true);

to this

columnOB.AddProperty(OptionName.ColumnWidth, columnWidths[columnIndex].Replace(",", "."), true);

This is founded on Form.cs , Ln 471

Please update or code for a more permanent solution if possible.