Hello All
I desperately need your help on this most urgently.
Using VB.Net - Windows Form - VS2012
What I am trying to achieve on the attached screenshot2 - I want hide the following:
1. Groupbox 'Not' checkbox
2. Hide the dropdown list that shows 'Greater than' etc
3. Hide the dropdown list that shows 'less than' etc
4. Hide the radio buttons i.e. And, Or
5. Shift the two date picker controls to the center with labels [From] and [To]
So far I have managed to hide the Available Filter options to show only [Between] option - see screenshot1
Please, Please, can you provide a VB.Net coding on how to do this:
Private Sub rgvProblems_FilterPopupInitialized(sender As System.Object, e As Telerik.WinControls.UI.FilterPopupInitializedEventArgs) Handles rgvProblems.FilterPopupInitialized
If (e.Column.Name = "Raised") Then
Dim filterPopup As RadDateFilterPopup = DirectCast(e.FilterPopup, RadDateFilterPopup)
Dim item As RadMenuItem = DirectCast(filterPopup.Items(1), RadMenuItem)
If (item IsNot Nothing) Then
'Only BETWEEN operator is visible
item.Items(0).Visibility = ElementVisibility.Collapsed
item.Items(1).Visibility = ElementVisibility.Collapsed
item.Items(2).Visibility = ElementVisibility.Collapsed
item.Items(3).Visibility = ElementVisibility.Collapsed
item.Items(4).Visibility = ElementVisibility.Collapsed
item.Items(5).Visibility = ElementVisibility.Collapsed
item.Items(6).Visibility = ElementVisibility.Collapsed
item.Items(7).Visibility = ElementVisibility.Collapsed
item.Items(9).Visibility = ElementVisibility.Collapsed
End If
Many thanks who can help me out on this.