[CLOSED] Problem in last svn version (3977)

  1. #1

    [CLOSED] Problem in last svn version (3977)

    Hello

    I have updated this morning to last revision and I have an analyse error when running my code :

    Unable to create an object of type 'Ext.Net.XTemplate' from its string representation, '{name} ({[values.rows.length]} {[values.rows.length > 1 ? "Items" : "Item"]})', for 'GroupHeaderTpl' property.
    Here the code :

    <Features>
        <ext:Grouping 
            ID="GroupingOSA"
            runat="server"
            GroupHeaderTpl='{name} ({[values.rows.length]} {[values.rows.length > 1 ? "Items" : "Item"]})'
            StartCollapsed="true">
        </ext:Grouping>
    </Features>
    I downgrade the revision to 3973 and it works.

    Thanks
    Last edited by Daniil; May 02, 2012 at 12:35 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please replace GroupHeaderTpl with GroupHeaderTplString.

    And now you can set up GroupHeaderTpl as a common XTemplate.

    Example
    <ext:Grouping runat="server">
        <GroupHeaderTpl runat="server">
            <Html>
                {name} ({[values.rows.length]} {[values.rows.length > 1 ? "Items" : "Item"]})
            </Html>
        </GroupHeaderTpl>
    </ext:Grouping>
  3. #3
    Thanks, it works

Similar Threads

  1. [CLOSED] Problem under Opera last version
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 32
    Last Post: Jul 13, 2012, 1:22 PM
  2. Replies: 7
    Last Post: Apr 24, 2012, 4:13 PM
  3. [CLOSED] Problem when updating to new version
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 08, 2010, 12:17 PM
  4. [CLOSED] Problem getting the Professional version 1.0?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 26, 2010, 10:21 AM
  5. combo edit problem in 0.8 version
    By Dinesh.T in forum 1.x Help
    Replies: 2
    Last Post: Jul 22, 2009, 10:15 AM

Posting Permissions