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

Problem with white space when filtering

3 Answers 106 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 14 Dec 2010, 01:33 AM
When filtering, I'd like for the drop down to resize to remove the empty lines as the selections are narrowed down.  So far I haven't found a way to do this.  There doesn't appear to be a client side method or property on the RadComboBox object to do this.  Any ideas?

Thanks

3 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 14 Dec 2010, 02:02 PM
Hello Jay,

Does your RadComboBox have a Height property set? If so, I'm assuming that is the problem. Try setting MaxHeight, and see if that helps with the drop-down re-adjusting itself during filtering.
0
Jay
Top achievements
Rank 1
answered on 14 Dec 2010, 04:20 PM
No Height or MaxHeight was set.  I did try the MaxHeight and that helps some by preventing the dropdown from getting too large but the empty lines still remain as the filtering narrows the selections down.
0
Kalina
Telerik team
answered on 17 Dec 2010, 11:31 AM
Hi Jay,

Could you please explain in more details what you mean by "filtering"?
Do you use the Filter feature of the RadComboBox or you filter data loaded at RadComboBox using the Load On Demand feature?

Kind regards,
Kalina
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
Jay
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Jay
Top achievements
Rank 1
Kalina
Telerik team
Share this question
or