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

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

2 Answers 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sampathx
Top achievements
Rank 1
Sampathx asked on 16 Nov 2012, 09:28 AM
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 Answers, 1 is accepted

Sort by
0
Sampathx
Top achievements
Rank 1
answered on 19 Nov 2012, 04:52 AM
Guy's,

Do we have any solution for this?
0
Maria Ilieva
Telerik team
answered on 20 Nov 2012, 03:23 PM
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.
Tags
General Discussions
Asked by
Sampathx
Top achievements
Rank 1
Answers by
Sampathx
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or