RadGridView - LoadLayout error

1 Answer 48 Views
FilterView GridView
Radek
Top achievements
Rank 1
Iron
Iron
Radek asked on 26 Jan 2023, 02:34 PM

Hello,

when I use radFilterView with gridView then saveLayout I get error when I call LoadLayout in load form - The object reference is not set to an instance of the object.

When I use filter in gridView it is OK

I see to xml file

with radFilterView I get:

<FilterDescriptors>
      <Telerik.WinControls.Data.FilterDescriptor PropertyName="Modul" Operator="IsEqualTo" Value="MyValue" />
    </FilterDescriptors>

with filter in gridView I get:

<FilterDescriptors>
      <Telerik.WinControls.Data.CompositeFilterDescriptor LogicalOperator="Or" NotOperator="False" PropertyName="col_Modul" IsFilterEditor="True">
        <FilterDescriptors>
          <Telerik.WinControls.Data.FilterDescriptor PropertyName="col_Modul" Operator="IsEqualTo" Value="MyValue" />
        </FilterDescriptors>
      </Telerik.WinControls.Data.CompositeFilterDescriptor>
    </FilterDescriptors>

 

 

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 30 Jan 2023, 02:04 PM

Hello Radek,

Thank you for the provided information.

I have tested your scenario but wasn't able to reproduce this error on my side. May I ask you to check the attached project and let me know what I need to modify to reproduce this error?

I am looking forward to your reply.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
FilterView GridView
Asked by
Radek
Top achievements
Rank 1
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or