Problem Enabling / Disabling rad Datepicker in rad window pop in IE 9

3 posts, 0 answers
  1. Sampathx
    Sampathx avatar
    2 posts
    Member since:
    Oct 2012

    Posted 16 Nov 2012 Link to this post

    Hi,

    I have a rad window open on click of some button in a page, inside rad window which i have check box and a rad datepicker.

    on click of check box i am enabling and disabling the rad date picker, but the height of the pop up automatically increases and a scroll bar comes up, i don't want that to happen.

    This issue exists only in IE (I am using IE 9 not sure in other versions of IE)

    Please let me know if there is any solution.

    <telerik:RadButton ID="btnExShip" Text="External Shipment" runat="server" Enabled="false" AutoPostBack="false" OnClientClicked="ExtrShipment"  ></telerik:RadButton>
     
    <telerik:RadWindow runat="server" ID="RadWindow1" Modal="true" Behaviors="Close" Width="900" Height="540">
            <ContentTemplate>
                <asp:CheckBox ID="CheckBox1" runat="server" Text="Returnable" onclick="Returnable(this);" />
                <telerik:RadDatePicker ID="RadDatePicker2" runat="server"></telerik:RadDatePicker>
             </ContentTemplate>
        </telerik:RadWindow>
     
    function ExtrShipment()
                {
                    try
                    {
                        popUp = $find('<%=RadWindow1.ClientID %>');
                        popUp.SetTitle("popup");
                        popUp.show();
        $find("<%=RadDatePicker2.ClientID %>").set_enabled(false);
                    }
                    catch (e)
                    {
                        alert(e);
                    }
                }
     
     function Returnable(objChk)
                {
                    if (objChk.checked)
                    {
                        $find("<%=RadDatePicker2.ClientID %>").set_enabled(true);   
                    }
                    else
                    {
                        $find("<%=RadDatePicker2.ClientID %>").set_enabled(false);
                    }
                }

  2. Sampathx
    Sampathx avatar
    2 posts
    Member since:
    Oct 2012

    Posted 18 Nov 2012 Link to this post

    Guy's,

    Do we have any solution for this?
  3. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 20 Nov 2012 Link to this post

    Hi,

    We are aware of this behaviour and it is already logged in our tracking system.  Our dev team is actively working on its resolution.
    Meantime you can use the following css rule as a possible workaround:
    <style type="text/css"
          .riTextBox  
          
              line-height: normal !important;    
          
      </style>

    You could follow the PITS item I have provided in the support ticketed you have opened for the same issue.

    Kind regards,
    Maria Ilieva
    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.
Back to Top