This is a migrated thread and some comments may be shown as answers.

SearchPanel is not closing with CloseButton

6 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Roman
Top achievements
Rank 2
Roman asked on 02 Mar 2018, 10:33 AM

Hi there,

the CloseButton in SearchPanel currently has no effect. The SearchPanel stays open.

2018.1.220.45

Best regards

6 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 06 Mar 2018, 02:32 PM
Hello Roman,

I tested the behavior of the control with 2018.1.220.45 assemblies version and on my end the close button works as expected. Can you please take a look at the attached sample application? Does your setup differ in any manner from the one demonstrated in the project?

Thank in advance for your cooperation.

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Roman
Top achievements
Rank 2
answered on 07 Mar 2018, 12:55 PM

Hi Stefan,

thank you for your reply. My setup is not that extensive. It's an extended selectable, readonly RadGridView with ObservableCollection as async source, GroupDescriptor and MultipleSelectBehavior. Thought, that the IsReadOnly could be responsible for this (i.e. inheritance to child controls), but the problem is still there with nothing set for this Property. The Is You can see it here:

<telerik:RadGridView ItemsSource="{Binding ReqList, IsAsync=True}" Grid.Row="1" SelectionMode="Extended" IsReadOnly="True" MouseDoubleClick="RadGridView_MouseDoubleClick">
  <i:Interaction.Behaviors>
    <local:RadGridViewMultiSelectBehavior SelectedItems="{Binding SelectedItems, Source={StaticResource viewModel}}"/>
  </i:Interaction.Behaviors>
  <telerik:RadGridView.GroupDescriptors>
    <telerik:GroupDescriptor Member="MaterialId" SortDirection="Ascending" DisplayContent="Material"/>
  </telerik:RadGridView.GroupDescriptors>
  <telerik:RadGridView.Columns>
    <telerik:GridViewSelectColumn/>
    <telerik:GridViewDataColumn Header="Material" DataMemberBinding="{Binding MaterialId}"/>
    <telerik:GridViewDataColumn Header="BOM" DataMemberBinding="{Binding RequisitionId}"/>
    <telerik:GridViewDataColumn Header="Position" DataMemberBinding="{Binding PosId}"/>
    <telerik:GridViewDataColumn Header="Lieferdatum" DataMemberBinding="{Binding DeliveryDate}"/>
    <telerik:GridViewDataColumn Header="Einkaufsgruppe" DataMemberBinding="{Binding PurchaserGroup}"/>
  </telerik:RadGridView.Columns>
</telerik:RadGridView>
0
Roman
Top achievements
Rank 2
answered on 07 Mar 2018, 01:00 PM
I tested your solution ... I'm afraid, that your example (based on the same assembly version), shows a button-like hover effect at close button as I would expect ... this hover effect I'm missing in my application, on top of the functionality.
0
Stefan
Telerik team
answered on 12 Mar 2018, 09:37 AM
Hello Roman,

Thanks for the update.

I modified the provided sample with the setup you are using but I am still not able to replicate the behavior you are observing. Attached to my reply is a short video I prepared as a demonstration. Can you please take a look at it? Are there any styles/customizations applied on your end that might be causing the reported malfunction?

So, in order to ensure that we are on the same page, may I kindly ask you to modify the sample application so that the problem is reproduced and send it through a new support thicket, so we can further investigate?

Thanks in advance for your cooperation.

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Roman
Top achievements
Rank 2
answered on 09 Apr 2018, 09:44 AM

Hi Stefan,

after a long time in another project now I could deal again with this. I figured out, that only the space of button around the x sign has an hover effect, the x sign itself does not hover. Also the click event is fired only at the space around the sign, not at the sign.

0
Dilyan Traykov
Telerik team
answered on 11 Apr 2018, 01:06 PM
Hello Roman,

From what you described it sounds like some custom styles are applied (possibly modifying the control template of the GridViewSearchPanel control) which lead to this undesired behavior.

Could you please clarify whether such styles are present as well as which theme you're using? If possible, it would really be of help if you can isolate the issue in a small sample project for us to investigate and assist you and send it over via a new support ticket.

I look forward to your reply.

Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Roman
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Roman
Top achievements
Rank 2
Dilyan Traykov
Telerik team
Share this question
or