I have a radwindow that controls an aspx page.
The contents of DownloadAccountsWindow.aspx are as follows:
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?
<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(); } </script> <asp:HiddenField ID="allAccountsData" runat="server" /> <div style="padding: 10px;"> <table cellpadding="5"> <tr> <td>Download Type</td> <td> <telerik:RadComboBox ID="cmbDownloadType" Width="200px" runat="server" Skin="Vista" OnClientSelectedIndexChanged="OnTypeChanged" OnClientLoad="OnTypeChanged" > <Items> <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" /> </Items> </telerik:RadComboBox> </td> </tr> <tr> <td>As-Of Date</td> <td> <telerik:RadDatePicker ID="dateAsOf" runat="server" Skin="Vista" /> </td> </tr> </table> <br /> <center> <asp:Button ID="btnDownload" runat="server" Text="Download" Width="100px" OnClick="btnDownload_Click" /> <input type="button" value="Close" style="width:100px;" onclick="getRadWindow().close()" /> </center> </div> <script> InitAccountsData(); </script></asp:Content>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?
