FilterCheckListEnableLoadOnDemand property

19 posts, 1 answers
  1. Gionata
    Gionata avatar
    13 posts
    Member since:
    Mar 2014

    Posted 27 Mar 2014 Link to this post

    Hi everyone,

    I'm trying to create a grid with filterchecklist .... I tried to enable the "FilterCheckListEnableLoadOnDemand" property for GridBoundColumn so i can use "OnFilterCheckListItemsRequested" event handler to load the items of the checklist.
    However, "FilterCheckListEnableLoadOnDemand" is not supported by the trial version of telerik.web.ui that I downloaded from your site, so I can not use this property until i purchase the latest version of the library or is there some other reason why it does not work?

    Thanks in advance.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 27 Mar 2014 in reply to Gionata Link to this post

    Hi Gionata,

    The FilterCheckListEnableLoadOnDemand is introduced in the latest release Version: 2014.1.218.0 (2014.01.218.0).
    Please have a look at the Release Histroy to know the latest release.

    Thanks,
    Princy
  3. Gionata
    Gionata avatar
    13 posts
    Member since:
    Mar 2014

    Posted 31 Mar 2014 Link to this post

    Thank you very much Princy, now i'm working with this version of telerik and FilterCheckListEnableLoadOnDemand is working.
    I would like to make two more questions about some little problems related to my project: 

    1 - How can I work on the checklist's window to make some simple operation like adjust its size and enable or disable the scroll? (I tried with filtermenu but it doesn't work). 

    2 - Is it possible to control the properties of an element of RadListBoxItem type to be checked or unchecked in the code-behind? I tried to set its "checked" property equals to true in code-behind but it doesn1t work (I don't know if it can be due to a javascript error that is returned to me with ie9 every time I click on the icon to get the checklist: "Microsoft JScript runtime error: Object does not support property or method 'indexOf'" or to some other reason.

  4. Gionata
    Gionata avatar
    13 posts
    Member since:
    Mar 2014

    Posted 31 Mar 2014 Link to this post

    Thanks in advance!
    Gionata.
  5. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 01 Apr 2014 Link to this post

    Hi Gionata,

    The menu that holds the ListBox in the filter item has "RadFilterMenu_CheckList" CSS Class, so you can use it to get the item and style it further.

    The items are checked from client side from the grid's filtering logic. The ListBox is one and the same for all columns. When it shows, it binds and then the grid checks the filter values that it previously stored for the given column during the sorting.

    The exception in older IE is caused by bug in the code. We will fix it for our next release.

    Regards,
    Vasil
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
  6. Gionata
    Gionata avatar
    13 posts
    Member since:
    Mar 2014

    Posted 01 Apr 2014 Link to this post

    Hi  Vasil,

    Sorry but i think i need some explanation about your answers:

    1 - Can you show me a practical example of how you can use this CSS class to get the item and style it further, i am not able to find anything about it in your forum or somewhere else.

    2 - My goal is to create a Grid with FilterCheckList that works a little differently from the standard behaviour; particularry, i should be able, from the code-behind, to disable or check/uncheck items of the list depending on the filters that are set on the grid....is it possible to do it? What are the limits about this point (or others) that are put to me by the bug for IE?
    Thanks in advance,
    Gionata


    My goal is to create a Grid with FilterCheckList that works a little differently from the standard expected, in particular I should be ablefrom the code-behindto disable orcheckare some checklist items depending on the filters that are set on the grid .. ., you cando thisWhat are the limits that are put to me by the bug for IE
    My goal is to create a Grid with FilterCheckList that works a little differently from the standard expected, in particular I should be ablefrom the code-behindto disable orcheckare some checklist items depending on the filters that are set on the grid .. ., you cando thisWhat are the limits that are put to me by the bug for IE
  7. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 01 Apr 2014 Link to this post

    Hello Gionata,

    I would suggest you to check this code library. http://www.telerik.com/support/code-library/excel-look-and-feel-for-radgrid
    It uses a bit different approach but could be more suitable for you.
    In the Code Library you will find grid that has filter choosing list implemented using RadComboBox for one of the columns. In this case you can fully control it client and server side.

    If you want to style the elements, you can use the class selector to add styles for them. And if you want to access the elements using JavaScript $telerik.getElementByClassName() function could be in help.

    Regards,
    Vasil
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
  8. Gionata
    Gionata avatar
    13 posts
    Member since:
    Mar 2014

    Posted 02 Apr 2014 in reply to Vasil Link to this post

    Vasil i tried this example but really it isn't very suitable for me...i just have created my own project (a sharepoint webpart containing a readgrid and i just need to implement checklist filter on it) like i wrote in my last post i just need to know 2 things:

     1 - How can I work on the checklist's window to make some simple operation like adjust its size and enable or disable the scroll (with a practical example if possible).

    2 - How  i should be able, from the code-behind, to check/uncheck items of the list (i tried with RadListBoxItem Item; Item.Checked = true) but it doesn't work.
  9. Gionata
    Gionata avatar
    13 posts
    Member since:
    Mar 2014

    Posted 02 Apr 2014 in reply to Gionata Link to this post

    Thanks in advance!
    Gionata.
  10. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 07 Apr 2014 Link to this post

    Hi Gionata,

    See the attached example that shows how you can change the width and height of the list box inside the filter, and how can you check items.

    Regards,
    Vasil
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  11. Vasssek
    Vasssek avatar
    185 posts
    Member since:
    Aug 2010

    Posted 25 Dec 2016 in reply to Vasil Link to this post

    Hello,

    I've tried your example code with FilterCheckList. it works as expected, but I couldn't click on checkbox text to mark checkbox. Please help me to solve this issue. And second question. How can I expand this kind of filtering to add custom textbox where user can type text so FilterCheckList will offer only filtered items based on value from that texbox...

    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/functionality/filtering/checklist-filtering

    Thank you

    Vasssek

     

  12. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 26 Dec 2016 Link to this post

    Hello Vasssek,

    There is search in the filter context menu:
    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/excel-like-filtering/defaultcs.aspx
    And if you have styles and clicking issues, I would suggest you to try the latest version of the suite, since all such known problems are already fixed.

    Regards,
    Vasil
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  13. Vasssek
    Vasssek avatar
    185 posts
    Member since:
    Aug 2010

    Posted 26 Dec 2016 in reply to Vasil Link to this post

    Hello,

    I've tried latest public version and also latest internal build, but still clicking on checkbox's text is not working. I've tested it on IE v. 11 and also Chrome v. 55. And strange thing is that on Telerik's example page it didn't work too.

    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/excel-like-filtering/defaultcs.aspx

    Please check it and give me further info.

    And to my second issue, I need your help, how to add search text box to grid header filter template, because I don't want so switch on google like filtering. I use this link like starting point: http://www.telerik.com/support/code-library/multi-selection-radcombobox-for-filtering-grid

    Thank you.

  14. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 26 Dec 2016 Link to this post

    Hello,

    I just created a short video of this:
    http://www.screencast.com/t/MpRSb0syq
    Could you show what differs in your browser, and give us some steps to reproduce the issue?

    Regards,
    Vasil
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  15. Vasssek
    Vasssek avatar
    185 posts
    Member since:
    Aug 2010

    Posted 27 Dec 2016 in reply to Vasil Link to this post

    Hmm, as I saw in that video you clicked only on checkbox. Please try to click on text on the right side of checkbox. Only check all is working, others not...
  16. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 27 Dec 2016 Link to this post

    Hello,

    I already see what you meant. The grid uses ListBox in the menu, and this is the default behavior of the ListBox.
    http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/checkboxes/defaultcs.aspx

    It is possible to change that using client side event of the ListBox.
    http://www.telerik.com/forums/radlistbox-set-checkbox-when-selected

    Since you can't access the ListBox server side, you need to find it client side on pageLoad client event, and attach the handler dynamically. 

    Regards,
    Vasil
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  17. Vasssek
    Vasssek avatar
    185 posts
    Member since:
    Aug 2010

    Posted 27 Dec 2016 in reply to Vasil Link to this post

    Hello,

    thank you for this explanation. However it should be fine to have some property through which we can set on/off option to click on related text joined to checkbox...

    I have another issue. I hope you will point we to the right way. I used grid template column based on Eyup code from this link: http://www.telerik.com/forums/how-to-persist-dropdownlist-selected-index-and-value-on-postback-from-radgrid-filtertemplate#GW3MyQLmVEmy8XzsmrHzeQ

    I'm struggling how to add textbox into which user can type text and based on that text combox items will be filtered. Something like google like filtering, there is filterCheckListSearch textbox with onkeyup event and special Telerik.Web.UI.Grid.FilterSearch. How to add it into grid custom filter template ?

    Please help me to solve this issue.

    Thank you

    Best regards

    Vasssek

  18. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 30 Dec 2016 Link to this post

    Hi,

    We will improve the listbox, and the grid to allow such configuration with property.

    For your second question, instead of adding a TextBox, you can simply set the Filter for the ComboBox and this will allow you to type inside it to filter the values:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/combobox/functionality/filtering

    Another option is to use AutoCompleteBox into the filter template if you want multiple values.

    Regards,
    Vasil
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  19. Vasssek
    Vasssek avatar
    185 posts
    Member since:
    Aug 2010

    Posted 31 Dec 2016 in reply to Vasil Link to this post

    Hello,

    thank you for that information.

    About my second issue, I need to filter combobox with checkbox enabled, but info from documentation says that this combination is not supported yet:

    CheckBox functionality is NOT supported in combination with filtering. The reason is that the CheckBox selection is different from the standard RadComboBox's selection - there is no single selected item.

    I've found this request, so people vote :-)

    https://feedback.telerik.com/Project/108/Feedback/Details/52358-implement-the-filter-functionality-of-the-radcombobox-when-the-checkboxes-proper

     

    For now I have created workaround with combobox header template, where I added textbox and from it I filter combobox items (hide or show) on keyup textbox event...

    Best regards

    Vasssek

Back to Top