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

combobox dropdown off center

7 Answers 95 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
eric
Top achievements
Rank 1
eric asked on 28 May 2010, 12:43 AM
Whenever I add a combo box to my project the pull down menu is off center.  It is most likely an issue with the project template I am using, but I do not have an option as to use this template or not.  Is there a way that I can correct the location of the pull down through the control itself?

7 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 May 2010, 07:25 AM
Hello Eric,

I am not sure about the issue that you are facing. Is it happening for any specific browser?

Have you tried setting the OffsetX value to negative in order to relocate the dropdown?

-Shinu.
0
Kamen Bundev
Telerik team
answered on 28 May 2010, 12:36 PM
Hello Eric,

Can you send a sample of this project template and how is the RadComboBox placed in it (you can open a support ticket to do that). Can you also tell us which version or RadControls for ASP.NET AJAX you are using and in which browser do you experience the issue? Thank you in advance.

Regards,
Kamen Bundev
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
eric
Top achievements
Rank 1
answered on 28 May 2010, 05:21 PM
Unfortunatly I can't give you the template as it is a compiled dll which is causing me a lot of grief.  I'm using v2010.1.309.20 and I experiance the problem in both IE and firefox.

I have attached 2 more screenshots, one where my browser window was maximized and the other where it was not.  You will see that the horizontal positioning of the dropdown changes as does the size of the far left column on the page.  You will also notice that the pixel length of the red lines I added to the images are equal.  This is why I think the project template I am using is causing the combo boxes to go crazy, but the template is a dll so I can't do anything to it.  I also have a similar issue with rad windows.  When I maximize a radwindow it refuses to lay on top of that far left column.  I know these are symptoms of the problem but hopefully they help in some way to find the issue.  It seems as if the radcontrols don't recognize the width of the far left column on my site.

I'm not doing anything fancy with the formatting of the combo boxes themselves, which you can see in the code below.

        <asp:Table ID="tblIndependentDropDowns" runat="server">  
            <asp:TableRow> 
                <asp:TableCell Width="200">  
                    Evaluation Type:  
                </asp:TableCell> 
                <asp:TableCell> 
                    <telerik:RadComboBox ID="rcbEvalType" runat="server" Width="335px">  
                        <Items> 
                            <telerik:RadComboBoxItem Text="All" Value="All" /> 
                            <telerik:RadComboBoxItem Text="Evaluation" Value="E" /> 
                            <telerik:RadComboBoxItem Text="Follow Up" Value="F" /> 
                            <telerik:RadComboBoxItem Text="Walk By" Value="W" /> 
                        </Items> 
                    </telerik:RadComboBox> 
                </asp:TableCell> 
            </asp:TableRow> 
            <asp:TableRow> 
                <asp:TableCell Width="200">  
                    Employee Type:  
                </asp:TableCell> 
                <asp:TableCell> 
                    <telerik:RadComboBox ID="rcbEmployeeType" runat="server" Width="335px">  
                        <Items> 
                            <telerik:RadComboBoxItem Text="All" Value="All" /> 
                            <telerik:RadComboBoxItem Text="Employees Only" Value="E" /> 
                            <telerik:RadComboBoxItem Text="Contractors Only" Value="C" /> 
                        </Items> 
                    </telerik:RadComboBox> 
                </asp:TableCell> 
            </asp:TableRow> 
        </asp:Table> 


I don't think the offset X will work as the actual position of the problem seems to fluctuate with the size of the screen.
0
Simon
Telerik team
answered on 29 May 2010, 06:48 PM
Hi eric,

We recently fixed an issue where the drop down displaced when the RadComboBox was in a (relatively/absolutely) positioned container.

Can you please verify whether you have such container and in any case upgrade to the latest Internal Build to see if the issue persists? If so, I will have to ask you for a sample project as without it we will be unable to determine what exactly is causing the displacement.

Thank you in advance.

Sincerely yours,
Simon
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
eric
Top achievements
Rank 1
answered on 01 Jun 2010, 07:00 PM
Simon,

I upgraded my telerik controls to the latest build and it corrected the issue with the combo box.  Unfortuantly I can't confirm wether or not relative/aboslute positioning was used as I can't get source code access to the dll that contains that information.  Thank you very much though!

I have noticed that the latest build did not correct the same issue regarding the radwindow.  Would you like me to submit a bug report?

Telerik Build -

ASP.NET AJAX Version: 2010.1 519 (May 19, 2010)

0
Fiko
Telerik team
answered on 04 Jun 2010, 12:24 PM
Hi Eric,

I was not quite sure that I understood the problem that you experience with RadWndow control. Could you please open a new support ticket and send us a project which shows the problem? I will check it on my side and do my best to provide a solution as soon as possible.
 

Greetings,
Fiko
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
eric
Top achievements
Rank 1
answered on 07 Jun 2010, 05:27 PM
Fiko,

Sure I'll submit a ticket and actually include some detail :)  I'm pretty busy right now so it will have to wait a few days.
Tags
ComboBox
Asked by
eric
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Kamen Bundev
Telerik team
eric
Top achievements
Rank 1
Simon
Telerik team
Fiko
Telerik team
Share this question
or