hi Team,
I need to add a radpath button to the RadGridView's searchpanel .
RadGridView doesnt has a particular style property for searchpanel, like it has for groups (i.e. GroupPaneItemStyle).
So I extracted the style, and to the control template added the radpath button.
But then this style is used globally in my application. So this button comes at all the places where the RadGridView is used.
Now I want to add a attachproperty to the radGridViewSearchPanel , which can be accessed from my different views and I should be able to control the visibility of my radpathbutton.
So I want something like this -
<telerik:RadGridView
Name="DeviceConnectionsGridView"
ShowSearchPanel="True"
SearchPanelCloseButtonVisibility="Hidden"
My_AttachedProperty_For_SearchPanelsRadPathButtonVisbility = "Visible"
/>
Here's what I performed -
I added an attached, to the GridViewSearchPanel class, but this property is only accessible where the GridViewSearchPanel is used.
In my case ggridViewsearchpanel is not used directly but coming from the RadGridView, so this attach property is not coming for R
adGridView.
So plz tell me, how can we achieve this ?