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.
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);
}
}