Form Decorator Drop Down List fills the entire screen

3 posts, 0 answers
  1. David
    David avatar
    4 posts
    Member since:
    Jul 2010

    Posted 30 Aug 2010 Link to this post

    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. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 31 Aug 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David avatar
    4 posts
    Member since:
    Jul 2010

    Posted 31 Aug 2010 Link to this post

    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
Back to Top