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

Form Decorator Drop Down List fills the entire screen

2 Answers 35 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 30 Aug 2010, 10:02 PM
I am using the following piece of code:

 <telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="all" EnableRoundedCorners="false"></telerik:RadFormDecorator> 

in order to update our asp .net application.  This property works great on almost all of our pages except one.  On the one page the drop down list contains around 200 pieces of data.  Therefore when the drop down arrow is pressed the entire page is filled with the drop down list.  I was wondering if there was a dropdownlistheight or something to that nature for the code mentioned above.  I found the following thread:

http://www.telerik.com/community/forums/aspnet-ajax/form-decorator/dropdownlist-height-problem-using-form-decorator.aspx

however the css "hack" did not work.  I am wondering if there was another technique or another way of fixing this problem.  I would rather not have to create a combobox for this page and would rather just use the "DecoratedControls="all" property.  

Thanks

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 31 Aug 2010, 07:54 AM
Hi David,

Currently there is no other way to do that apart from the CSS hack - could you please let me know what exactly didn't work with it? It would be of help if you post a code for a sample page where you tried that hack along with the browser's details.
The problem with the hack is that it sets a fixed height of the dropdowns, no matter if there are 2 or 200 items in it. That is actually one of the reasons why currently there is no permanent cross-browser's solution for this issue.

All the best,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David
Top achievements
Rank 1
answered on 31 Aug 2010, 06:21 PM
I reread the other thread that actually had the css "hack" and I noticed that the <style type="text/css"> </style> was used.  This works.  I had previously only put it in the .css file.  However putting it in the actual .aspx file it worked correctly.  Thanks
Tags
FormDecorator
Asked by
David
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
David
Top achievements
Rank 1
Share this question
or