Radgrid Filter Options now showing asp.net C#

0 Answers 28 Views
Filter Grid
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Rakhee asked on 15 Nov 2023, 11:07 AM | edited on 15 Nov 2023, 11:07 AM

Hi 

I have radgrid for an application that has the filters set to show.

When the page first loads and grid is populated the filter works successfully, however if I do anything like click on another button so the page reloads for example, the filters stop working. So when I click on the filter button the drop down of options does not show anymore.

Any advise on why its behaving like this please?

Thanks

Rakhee

Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
commented on 15 Nov 2023, 12:18 PM

I resolved the issue, my panels were incorrect where my grid was
Rumen
Telerik team
commented on 15 Nov 2023, 03:20 PM

I am glad that you've managed to resolve the problem, Rakhee! It will be very helpful for the community if you share more details on your initial setup. Do you mean RadAjaxPanels or asp:Panels or even RadAjaxManager configuration?
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
commented on 15 Nov 2023, 03:59 PM | edited

Hi

First of all I had my grid in a update panel within a content Templates, so I remove the contentTemplate and I changed the updatepanel to this to be within a panel instead

Then I changed the RadAjaxManager control to the panel, rather than the grid. Below ou can see ID is the grid name.

  <tlk:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <ClientEvents OnRequestStart="onRequestStart" />
            <AjaxSettings>
                <tlk:AjaxSetting AjaxControlID="rg_CallDetails">
                    <UpdatedControls>
                        <tlk:AjaxUpdatedControl ControlID="rg_CallDetails" />
                    </UpdatedControls>
                </tlk:AjaxSetting>
            </AjaxSettings>
        </tlk:RadAjaxManager>

 

I changed it to the panel name.

      <tlk:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <ClientEvents OnRequestStart="onRequestStart" />
            <AjaxSettings>
                <tlk:AjaxSetting AjaxControlID="pnlFields">
                    <UpdatedControls>
                        <tlk:AjaxUpdatedControl ControlID="pnlFields" />
                        <tlk:AjaxUpdatedControl ControlID="rg_CallDetails" />
                    </UpdatedControls>
                </tlk:AjaxSetting>
            </AjaxSettings>
        </tlk:RadAjaxManager>
Rumen
Telerik team
commented on 16 Nov 2023, 11:20 AM

Thank you! Now it is clear!

No answers yet. Maybe you can help?

Tags
Filter Grid
Asked by
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or