Filtering and PageLoad events using C1GridView 2010v1 → 2025v2 399

Posted by: enrique.pv-ext on 18 February 2026, 10:44 am EST

  • Posted 18 February 2026, 10:44 am EST

    Hi all,

    Migrating C1GridView 2010v1 to 2025v2 399 version

    I click “checkallbuttom_click event”, then OnFiltering=“C1GridView1_Filtering” is executed before Page_load !!

    In 2010v1 version, its not executed Filtering

    <cc1:C1GridView ID="C1GridView1" Width="100%" DataKeyNames="LIQUIDATION_TYPE,ID_LIQUIDATION,..."
                        runat="server" AllowPaging="True" PageSize="28" AllowSorting="True" ShowFilter="True"
                        AutogenerateColumns="False"
                        OnPageIndexChanging="C1GridView1_PageIndexChanging"
                        OnSorting="C1GridView1_Sorting"
                        OnSorted="C1GridView1_Sorted"
                        OnFiltering="C1GridView1_Filtering" OnRowCreated="C1GridView1_RowCreated" OnRowDataBound="C1GridView1_RowDataBound" OnDataBound="C1GridView1_DataBound">
                        <Columns>
                            <cc1:C1TemplateField>
                                <HeaderTemplate>
                                    <asp:ImageButton runat="server" ID="checkallbuttom" OnClick="checkallbuttom_click" ImageUrl="~/CollectionAudit/tick.ico" /></HeaderTemplate>
                                <EditItemTemplate>
                                    <asp:CheckBox ID="CheckBoxDistinctCategory" runat="server" Checked='false' />
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="CheckBoxDistinctCategory" runat="server" Enabled="true" Checked='false' />
                                </ItemTemplate>
                            </cc1:C1TemplateField>
                        </Columns>
                    </cc1:C1GridView>

    Code is the same in both versions (only changes the types 2010v1 → 2025v2 399)

    any suggestions ?

  • Posted 19 February 2026, 7:14 am EST

    Hello Enrique,

    We created a sample using your implementation but were unable to reproduce the behavior at our end.

    In our testing, the sequence of events is as follows:

    1. The page loads (‘Page_Load()’ event).
    2. The header button click event (‘checkallbuttom_click()’) is triggered.

      → The ‘C1GridView1_Filtering()’ event is not fired.

    Could you please confirm whether we might be missing any steps or configuration?

    Kindly modify the attached sample so that it reproduces the issue on your side and share it back with us. This will help us investigate the behavior more effectively.

    Sample: GridView_Filtering.zip

    Regards,

    Uttkarsh.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels