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

rad combo box problem

1 Answer 52 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
eslam
Top achievements
Rank 1
eslam asked on 11 Oct 2011, 04:02 PM
i have rad combo box inside telerik rad window and i can not see combo box choices if the page direction is (right to left)

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Oct 2011, 06:50 AM
Hello Eslam,

I am not sure about your scenario. So I have tried the following scenarios and both are worked as expected.
i) Setting NavigateUrl proprty of the RadWindow and the RadComboBox is in the navigated page and tried setting rtl for both the pages.
ii) Creating the RadCombobox inside RadWindow ContentTemplate and set the direction as rtl for that page.
Here is the code of second scenario.

ASPX:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="radwindow_pgdirection.aspx.cs"
    Inherits="Radcombobox_radwindow" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <style type="text/css">
        html
        {
            direction: rtl;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:Button ID="Button1" runat="server" Text="Click" OnClientClick="open1();return false" />
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
            <Windows>
                <telerik:RadWindow ID="RadWindow1" runat="server"  >
                    <ContentTemplate>
                        <telerik:RadComboBox ID="RadComboBox1" runat="server">
                            <Items>
                                <telerik:RadComboBoxItem Text="A" Value="A" />
                                <telerik:RadComboBoxItem Text="B" Value="B" />
                                <telerik:RadComboBoxItem Text="C" Value="C" />
                                <telerik:RadComboBoxItem Text="D" Value="D" />
                                <telerik:RadComboBoxItem Text="E" Value="E" />
                                <telerik:RadComboBoxItem Text="F" Value="F" />
                            </Items>
                        </telerik:RadComboBox>
                    </ContentTemplate>
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </div>
    </form>
</body>
</html>
 
<script type="text/javascript" language="javascript">
function open1()
{
    window.radopen(null, "RadWindow1");
 }
</script>

Thanks,
Princy.
Tags
ComboBox
Asked by
eslam
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or