Hi,
Kindly let me know is it possible to remove the "NOT AND " and "NOT OR" from the RAD filter menu.
If yes, the give me broad idea how is it possible. as i do not have nay clue from where to start of.
Any immediate reply is highly appreciated.
Thanks and Regards,
Govind.
Kindly let me know is it possible to remove the "NOT AND " and "NOT OR" from the RAD filter menu.
If yes, the give me broad idea how is it possible. as i do not have nay clue from where to start of.
Any immediate reply is highly appreciated.
Thanks and Regards,
Govind.
7 Answers, 1 is accepted
0
Hi Govind,
Please examine the help article below and let me know if it helps to achieve your goal:
http://www.telerik.com/community/forums/aspnet-ajax/filter/radfilter-events-and-customization.aspx
Regards,
Pavlina
the Telerik team
Please examine the help article below and let me know if it helps to achieve your goal:
http://www.telerik.com/community/forums/aspnet-ajax/filter/radfilter-events-and-customization.aspx
Regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
govind
Top achievements
Rank 1
answered on 30 Sep 2010, 08:20 AM
Hi,
Thanks for immediate reply. However this code is used to hide the Expressions or Group. I need to hide the Condtion in Filter i.e AND, OR, NOT AND, and NOT OR.
Out of the these four options i need to hide the NOT AND and NOT OR.
Any help will be appreciated.
Regards,
Govind.
Thanks for immediate reply. However this code is used to hide the Expressions or Group. I need to hide the Condtion in Filter i.e AND, OR, NOT AND, and NOT OR.
Out of the these four options i need to hide the NOT AND and NOT OR.
Any help will be appreciated.
Regards,
Govind.
0
govind
Top achievements
Rank 1
answered on 04 Oct 2010, 06:35 AM
Hi,
Is there anyone...who did the same thing which i want to do...
Please reply...any immediate help appreciated..
Is there anyone...who did the same thing which i want to do...
Please reply...any immediate help appreciated..
0
Hello Govind,
Please find attached a simple working project, which handles the desired functionality. Give it a try and let me know if it works as expected or if I am leaving something important out.
Kind regards,
Pavlina
the Telerik team
Please find attached a simple working project, which handles the desired functionality. Give it a try and let me know if it works as expected or if I am leaving something important out.
Kind regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
govind
Top achievements
Rank 1
answered on 19 Oct 2010, 03:35 AM
Hi,
thanks for the solution it worked for me. :)
thanks for the solution it worked for me. :)
0
July
Top achievements
Rank 2
answered on 16 Aug 2011, 06:45 PM
How I can do this
function FilterCreated(sender, eventArgs) {
var filterMenu = sender.get_contextMenu();
filterMenu.add_showing(FilterMenuShowing);
}
function FilterMenuShowing(sender, eventArgs) {
var filter = $find("<%= RadFilter3.ClientID %>");
var currentExpandedItem = sender.get_attributes()._data.ItemHierarchyIndex;
if (filter._expressionItems[currentExpandedItem] == "Fulltext") {
sender.findItemByValue("IsNull").set_visible(false);
sender.findItemByValue("NotIsNull").set_visible(false);
sender.findItemByValue("Contains").set_visible(false);
}
if (filter._expressionItems[currentExpandedItem] == "Name") {
sender.findItemByValue("GreaterThan").set_visible(false);
sender.findItemByValue("LessThan").set_visible(false);
}
}
in code behind for String, number, etc?
If editor.getype == string
remove "GreaterThan"
regards
function FilterCreated(sender, eventArgs) {
var filterMenu = sender.get_contextMenu();
filterMenu.add_showing(FilterMenuShowing);
}
function FilterMenuShowing(sender, eventArgs) {
var filter = $find("<%= RadFilter3.ClientID %>");
var currentExpandedItem = sender.get_attributes()._data.ItemHierarchyIndex;
if (filter._expressionItems[currentExpandedItem] == "Fulltext") {
sender.findItemByValue("IsNull").set_visible(false);
sender.findItemByValue("NotIsNull").set_visible(false);
sender.findItemByValue("Contains").set_visible(false);
}
if (filter._expressionItems[currentExpandedItem] == "Name") {
sender.findItemByValue("GreaterThan").set_visible(false);
sender.findItemByValue("LessThan").set_visible(false);
}
}
in code behind for String, number, etc?
If editor.getype == string
remove "GreaterThan"
regards
0
Hi Julieta,
I am afraid that the desired behaviour can not be achieved server-side, because the filter expressions are initialized on the client.
Kind regards,
Pavlina
the Telerik team
I am afraid that the desired behaviour can not be achieved server-side, because the filter expressions are initialized on the client.
Kind regards,
Pavlina
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>