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

RadComboBox renders differently in RadWindow

1 Answer 46 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Nathan asked on 27 Nov 2012, 10:01 PM
I have a radwindow that controls an aspx page.

<telerik:RadWindow ID="wndDownloadAccounts" runat="server" Title="Download Accounts" Skin="Web20" Width="500px" Height="270px"
    ReloadOnShow="true" ShowContentDuringLoad="false" Behaviors="Close" VisibleStatusbar="false" DestroyOnClose="false" NavigateUrl="~/Views/Accounts/DownloadAccountsWindow.aspx" />

The contents of DownloadAccountsWindow.aspx are as follows:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DownloadAccountsWindow.aspx.cs" Inherits="Foo.FooBar.Views.Accounts.DownloadAccountsWindow" MasterPageFile="~/Resources/MasterPages/Bare.Master" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ContentPlaceHolderID="CP1" runat="server">
    <script type="text/javascript">
        function InitAccountsData() {
            var data = getRadWindowParent().GetAllAccountsData();
            $get('<%= allAccountsData.ClientID %>').value = data;
        function OnTypeChanged(sender, args) {
            // <%-- This is vestigial code. --%>
            var selected = sender.get_selectedItem().get_text();
    <asp:HiddenField ID="allAccountsData" runat="server" />
    <div style="padding: 10px;">
        <table cellpadding="5">
                <td>Download Type</td>
                    <telerik:RadComboBox ID="cmbDownloadType" Width="200px" runat="server" Skin="Vista" OnClientSelectedIndexChanged="OnTypeChanged" OnClientLoad="OnTypeChanged" >
                            <telerik:RadComboBoxItem Text="Morningstar Office" Value="Morningstar" />
                            <telerik:RadComboBoxItem Text="Morningstar Principia" Value="Principia" />
                            <telerik:RadComboBoxItem Text="Morningstar Principia CAMS" Value="CAMS" />
                            <telerik:RadComboBoxItem Text="Orion" Value="Orion" />
                            <telerik:RadComboBoxItem Text="EbixCRM SmartOffice" Value="SmartOffice" />
                <td>As-Of Date</td>
                    <telerik:RadDatePicker ID="dateAsOf" runat="server" Skin="Vista" />
        <br />
            <asp:Button ID="btnDownload" runat="server" Text="Download" Width="100px" OnClick="btnDownload_Click" />
            <input type="button" value="Close" style="width:100px;" onclick="getRadWindow().close()" />

When I navigate directly to the aspx, I get the following result:
Direct Link

When I load up the aspx in the radwindow I get the following:
In radwindow

Any item that is selected is not shown in the radcombobox when I load this aspx in a radwindow.

Is there a known issue with Radwindows and radcomboboxes?

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 30 Nov 2012, 05:03 PM
Hello Nathan,

Let me suggest you try setting the RadComboBox ZIndex to a value higher than 3000.
Please find more details about absolute positioning with Z-Index at this help article.

All the best,
the Telerik team
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.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question