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

Misplaced dropdown

6 Answers 64 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 27 Mar 2010, 11:16 AM
Please have a look at the attached image.

As you can see the dropdown is misplaced. It only appears o be the case on this grid edit form template; wherever else I use comboboxes they're OK.

The form template code is reproduced below ...
                <FormTemplate> 
                    <telerik:RadTextBox runat="server" ID="txtInternalId" Text='<%# DataBinder.Eval(Container, "DataItem.InternalId") %>' Style="display: none;"></telerik:RadTextBox> 
                    <table> 
                        <tr> 
                            <td> 
                                Surname: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtSurname" runat="server" MaxLength="50" Text='<%# DataBinder.Eval(Container, "DataItem.Surname") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="200px" > 
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Forename: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtForename" runat="server" MaxLength="50" Text='<%# DataBinder.Eval(Container, "DataItem.Forename") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="200px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Email: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtEmail" runat="server" MaxLength="200" Text='<%# DataBinder.Eval(Container, "DataItem.Email") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="300px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Phone: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtPhone" runat="server" MaxLength="20" Text='<%# DataBinder.Eval(Container, "DataItem.Phone") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="150px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Organisation: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtOrganisation" runat="server" MaxLength="50" Text='<%# DataBinder.Eval(Container, "DataItem.Organisation") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="300px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td style="vertical-align: top;"
                                Special Notes: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtSpecialNotes" runat="server" Rows="5" Text='<%# Bind("SpecialNotes") %>' 
                                    SkinID="rad_textbox" 
                                    TextMode="MultiLine" Width="300px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td style="vertical-align: top;"
                                Status: 
                            </td> 
                            <td> 
                                <telerik:RadComboBox ID="cboState" runat="server" SelectedValue='<%# DataBinder.Eval(Container, "DataItem.State") %>' SkinID="rad_combo"
                                    <Items> 
                                        <telerik:RadComboBoxItem Text="Not Confirmed" Value="AwaitingUserAcceptance" /> 
                                        <telerik:RadComboBoxItem Text="Attending" Value="Attending" /> 
                                        <telerik:RadComboBoxItem Text="Not Attending" Value="NotAttending" /> 
                                    </Items> 
                                </telerik:RadComboBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="2" style="text-align: right; padding-right: 5px"
                                <asp:Button runat="server" ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' 
                                    CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' /> 
                                <asp:Button runat="server" ID="btnCancel" Text="Cancel" CommandName="Cancel" CausesValidation="false" /> 
                            </td> 
                        </tr> 
                    </table> 
                </FormTemplate> 
 
Anyone any ideas?

--
Stuart

6 Answers, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 27 Mar 2010, 11:19 AM
Forgot to say, this project is using the Q1 2009 Framework 3.5 controls.

--
Stuart
0
Yana
Telerik team
answered on 30 Mar 2010, 09:53 AM
Hello Stuart Hemming,

I've tested the provided code but wasn't able to reproduce this issue, I guess it's related to some css styles on your page. I've attached my test page, can you modify it so that we can observe the issue and send it back to us? You should open a support ticket and send it there. Thanks

Kind regards,
Yana
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
Stuart Hemming
Top achievements
Rank 2
answered on 30 Mar 2010, 12:03 PM
Yana,

Thanks for that. I'll check out the styles in force on the page and get back to you.

--
Stuart
0
Yana
Telerik team
answered on 30 Mar 2010, 12:51 PM
Hi Stuart,

We'll test the page as soon as you send it to us. Thanks in advance

Best wishes,
Yana
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
Benjamin
Top achievements
Rank 2
answered on 11 Oct 2013, 08:57 AM
Hi, can you provide a specific CSS that might cause this issue? I also encountered this in our project.
0
Kate
Telerik team
answered on 11 Oct 2013, 09:34 AM
Hello Benjamin,

Unfortunately we did not get a specific page and for this purpose we did not post any answer in the forum. Please note also that the post is 2 years old and we already implemented different improvement in tho control. Therefore I would suggest that you open a separate support ticket where you can attach you simplified runnable project so I can test it from my side and assist you in the most efficient way.

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
ComboBox
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Stuart Hemming
Top achievements
Rank 2
Yana
Telerik team
Benjamin
Top achievements
Rank 2
Kate
Telerik team
Share this question
or