This is a migrated thread and some comments may be shown as answers.

Check boxes in combo box with load on demand

10 Answers 128 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
mark
Top achievements
Rank 1
mark asked on 06 Dec 2010, 11:26 PM
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 


 

10 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 09 Dec 2010, 04:00 PM
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.
0
mark
Top achievements
Rank 1
answered on 09 Dec 2010, 07:15 PM
Hi Yana,

that is what I kind of thought, 

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

thanks 

Mark
0
Yana
Telerik team
answered on 10 Dec 2010, 04:38 PM
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.
0
mark
Top achievements
Rank 1
answered on 13 Dec 2010, 08:09 PM
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
0
Yana
Telerik team
answered on 20 Dec 2010, 01:05 PM
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.
0
duraid wadie
Top achievements
Rank 1
answered on 25 Jun 2014, 10:41 AM
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???
0
Nencho
Telerik team
answered on 30 Jun 2014, 06:43 AM
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.

 
0
duraid wadie
Top achievements
Rank 1
answered on 30 Jun 2014, 07:33 AM
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. 
0
Nencho
Telerik team
answered on 03 Jul 2014, 06:49 AM
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.

 
0
duraid wadie
Top achievements
Rank 1
answered on 03 Jul 2014, 06:55 AM
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. 
Tags
ComboBox
Asked by
mark
Top achievements
Rank 1
Answers by
Yana
Telerik team
mark
Top achievements
Rank 1
duraid wadie
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or