Check boxes in combo box with load on demand

11 posts, 0 answers
  1. mark
    mark avatar
    19 posts
    Member since:
    May 2008

    Posted 06 Dec 2010 Link to this post

    Hi folks

    first off  I am using v2009.3.1314.20

    I have seen some good examples of how to utilise multi-select with checkboxes, however I am having a problem trying to implement the functionality.

    all the examples appear to use postbacks and server side binding when  associating checkboxes with combobox items, I on the other hand use load on demand with webservices to populate the  combobox.

    I have tried implementing itemtemplate but it appears as though the loading via webservices overrides this. 

    is there a way I can do this or do I have to think of another approach

    thanks 

    Mark 


     
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 09 Dec 2010 Link to this post

    Hello Mark,

    This is expected behavior - you cannot use templates when loading items from a web service.  Please subscribe to ItemsRequested event and add the items in its handler in order to apply the template properly.

    Regards,
    Yana
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. mark
    mark avatar
    19 posts
    Member since:
    May 2008

    Posted 09 Dec 2010 Link to this post

    Hi Yana,

    that is what I kind of thought, 

    do you have any examples of  how I can achieve this?

    thanks 

    Mark
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 10 Dec 2010 Link to this post

    Hello mark,

    This online example demonstrates the approach.

    All the best,
    Yana
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  6. mark
    mark avatar
    19 posts
    Member since:
    May 2008

    Posted 13 Dec 2010 Link to this post

    Hi Yana

    thanks for your response,


    I am still at a loss, the online demo you sent  uses serverside binding, and the only thing updated is the footer element.

    Is there a demo where I can add a checkbox using onclientitemrequested

    thanks 
    Mark
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 20 Dec 2010 Link to this post

    Hi mark,

    The first combobox in the example uses template and loads its items on demand. You can add checkboxes in the template in your page.

    Greetings,
    Yana
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  8. duraid wadie
    duraid wadie avatar
    5 posts
    Member since:
    Jul 2009

    Posted 25 Jun 2014 Link to this post

    Not sure why they can not see we can not make check boxes to work with load on demand is been like that since 2009???
  9. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 30 Jun 2014 Link to this post

    Hello Duraid,

    The reason for the inability to implement such scenario is the fact that RadComboBox's items loaded on demand are not accessible on the server, which is needed for the CheckBox feature. This is why it was previously suggested to use ItemTemplate and place the checkboxes in them, in order to achieve this functionality.

    Regards,
    Nencho
    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.

     
  10. duraid wadie
    duraid wadie avatar
    5 posts
    Member since:
    Jul 2009

    Posted 30 Jun 2014 in reply to Nencho Link to this post

    You should state clearly on your pages that your control does not support check boxes and load - on demand. There are other companies do support this feature. If i would use itemtemplate i would rather write a control by myself to do that. 
  11. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 03 Jul 2014 Link to this post

    Hello Duraid,

    The previously mentioned limitation is stated in the following help article for the CheckBoxes support in RadComboBox :

    http://www.telerik.com/help/aspnet-ajax/combobox-usability-checkboxes.html

    Regards,
    Nencho
    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.

     
  12. duraid wadie
    duraid wadie avatar
    5 posts
    Member since:
    Jul 2009

    Posted 03 Jul 2014 in reply to Nencho Link to this post

    I know that. After i spend few days to evaluate your control which is fails from the first try you call it limitation 2011 :-) i call it you could not be bothered to finish it. Would like to send you few companies link that do the same and support load on demand with checkboxes. 
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017