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

Loading On Demand - Once And Done For All in Grid

3 Answers 37 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 24 Jun 2011, 06:28 PM
Hello,

I have a radgrid, which has 25 records displayed.  In the grid is a GridTemplateColumn with a RadComboBox in it.  The combo box has enabled loading on demand.  What I'd like to do is when one combo box loads, load them all.  I don't know if something like that is possible?  It's the same data for all.

Thanks,

Brian

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Jun 2011, 05:26 AM
Hello Brian,

Check out the following demo which implements the similar scenario.
ComboBox / Related ComboBoxes.

Thanks,
Princy.
0
Brian Mains
Top achievements
Rank 1
answered on 28 Jun 2011, 01:31 PM
Hey,

That's related combos, I'm talking the SAME combo value, and when I load the first, it loads the other.  I guess my answer is there though, I have to manually call requestItems() method.  However, it would be nice if there was a way to load the items for all of the combos once once is loaded... it would save on a lot of bandwidth.

Thanks.
0
Peter
Telerik team
answered on 30 Jun 2011, 07:55 AM
Hello Brian,

Yes, the requestItems() method allows you to specify the filter argument. If you need to access the client objects of all RadComboBoxes easily, you can use this help topic -> section on 'Getting all combobox instances at the client-side' at the bottom.

Greetings,
Peter
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.

Tags
ComboBox
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Brian Mains
Top achievements
Rank 1
Peter
Telerik team
Share this question
or