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

combobox not show in dynamic usercontrol.

2 Answers 69 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
trunghth
Top achievements
Rank 1
trunghth asked on 24 May 2013, 07:47 AM
Hi,
I got a problem with radcombox like here:
addReportDocByVTHS.ascx
<
telerik:RadComboBox ID="ddltype" runat="server" Label="Doc Type: " Width="200px">
</telerik:RadComboBox>
and in my parent usercontrol i call addReportDocByVTHS.ascx like this:
UserControl_ReportDoc_addReportDocByVTHS control = (UserControl_ReportDoc_addReportDocByVTHS)this.Page.LoadControl("~/Usercontrol/ReportDoc/addReportDocByVTHS.ascx");
        if (control != null)
        {         
            control.modalContainer = pnlInsert_ModalPopupExtender.ID.ToString();
            control.AfterClickLuu += new EventHandler(btsearch_Click);
            if (!pnlInsert_child.Controls.Contains(control))
            {
                pnlInsert_child.Controls.Add(control);
                pnlInsert_ModalPopupExtender.Show();
            }
            Session["action"] = "insert";
        }
//load dropdownlist
ddltype.DataSource = F_DocType.GetList();
        ddltype.DataTextField = "DOC_TYPENAME";
        ddltype.DataValueField = "DOC_TYPE";
        ddltype.DataBind();
here is my parent usercontrol.ascx like:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" >
<ContentTemplate>
<asp:HiddenField ID="hdfMacv" runat="server" />   
<asp:ModalPopupExtender ID="pnlInsert_ModalPopupExtender" runat="server"
     Enabled="True" TargetControlID="hdfMacv" PopupControlID="pnlInsert"
    BackgroundCssClass="modalBackground" 
    ></asp:ModalPopupExtender>
    
<asp:Panel ID="pnlInsert" runat="server" CssClass="ModalWindow"  style="display:none">   
        <asp:PlaceHolder ID="pnlInsert_child" runat="server" EnableViewState="false">
        </asp:PlaceHolder>
</asp:Panel>
    </ContentTemplate>
    </asp:UpdatePanel

My combobox can't shown down when i click, i only can press "up" and "down" keyboard to choose.
would I miss anything.please tell me. thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 29 May 2013, 08:30 AM
Hello Hua,

I have tried to replicate the described issue, but to no avail. I have prepared a sample project for you, demonstrating the behavior at my end. Would you give it a try at your end and let me know if I had missed something? In addition, would you specify under which browser you are encountering the problem and which is the version of our controls that you are using?

Note : dll files are removed from the attachment.

Regards,
Nencho
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 their blog feed now.
0
trunghth
Top achievements
Rank 1
answered on 18 Jul 2013, 10:03 AM
hi Nencho ,
thank for your reply, i rarely on net. i solve my problem with z-index. when i use popup, i dont think radcombobox got z-index lower, i thought it in error. if i could find where to edit my z-index combobox , then it better ! thank ur help ! :)
Tags
ComboBox
Asked by
trunghth
Top achievements
Rank 1
Answers by
Nencho
Telerik team
trunghth
Top achievements
Rank 1
Share this question
or