Hello,
i'm trying to translate the PopUp for filtering a column in RadGridView.
I am using "FilterPopupRequired(object sender, FilterPopupRequiredEventArgs e) " to manipulate the popup.
I got all Elements translated except of two: (attached is a image that shows the two problematic elements)
- Textbox that shows "Search...":
I tried:
foreach (var item in ((RadListFilterPopup)e.FilterPopup).Items)
{
if (item as FilterMenuTextBoxItem != null)
{
var textBox = ((FilterMenuTextBoxItem)item).TextBox;
//textBox.Text = "...";
textBox.NullText = "NULL";
}
}
If i set .ext i see it is the right control im changing but i want to set the text if the user did not enter any text so i tried NullText but it is not working. Any ideas?
- First Element in TreeView that shows "All":
i tried to get the elements of the Treeview but i can't get them.
Here is my code:
foreach (var item in ((RadListFilterPopup)e.FilterPopup).Items)
{
if (item as FilterMenuTreeItem != null)
{
var items = ((FilterMenuTreeItem)item).Items; // here items count is 0
}
}
Thank you very much.
Best Regards,
Yves