[FIXED] [V0.6] GridPanel ColumnModel ID=ct100 conflicts

  1. #1

    [FIXED] [V0.6] GridPanel ColumnModel ID=ct100 conflicts

    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" runat="server">
    <asp:ObjectDataSource ID="dsProjects" runat="server"
            SelectMethod="QueryView" TypeName="SomeClassName">
    <ext:Store ID="stProjects" runat="server" DataSourceID="dsProjects">
                    <ext:RecordField Name="PROJECT_NAME" />
    <ext:GridPanel ID="GridPanel1" runat="server" StoreID="stProjects">
        <ColumnModel ID="ctl00">
                <ext:Column Header="Project Name" DataIndex="PROJECT_NAME" Sortable="True">
    On page load, the following error happens
    Multiple controls with the same ID 'ctl00' were found. FindControl requires that controls have unique IDs.

    Changing the ColumnModel ID from ct100 to something like cmProjects makes the page work.
  2. #2

    RE: [FIXED] GridPanel ColumnModel ID=ct100 conflicts

    Hi Peter P,

    Thanks for reporting! The bug has been fixed and committed to svn. The fix will also be available with the v0.6 Preview release. 

    As you noted, giving the ColumnModel a unique ID should work-around the bug.

    Geoffrey McGill

Similar Threads

  1. Replies: 4
    Last Post: Apr 10, 2012, 9:48 PM
  2. Replies: 2
    Last Post: Oct 07, 2011, 4:55 PM
  3. Replies: 2
    Last Post: Oct 07, 2011, 4:54 PM
  4. Selecting different columnmodel for gridpanel.
    By masudcseku in forum 1.x Help
    Replies: 5
    Last Post: May 11, 2011, 6:09 PM
  5. Add ColumnModel to GridPanel
    By aalkema in forum 1.x Help
    Replies: 0
    Last Post: Apr 27, 2009, 12:58 PM

Posting Permissions