Hello,
I dont know whether this is the right place to put this query, but i have read somewhere that RadDateTimePicker is part of RadClender control....so putting it here....
I want to hide DatePopup button programmatically on client side.
is there any way to hide/unhide DatePopup button depend upon business logic ?
Also I tried to enable/disable RadDateTimePicker control , but giving "Object Required" issue in following scenario. I am using "2009.3.1103.35" version.
Scenario :-
1. RadDateTimePicker is disable using follwoing code
var objradDateValidity = $find("<%= radValidity.ClientID %>");
objradDateValidity.set_enabled(false);
2. Then after some businees logic ,I make it enable as follows
var objradDateValidity = $find("<%= radValidity.ClientID %>");
objradDateValidity.set_enabled(true);
3. And Now if I change date value using Date popup button and again try to make it disable , it throws "Object Required" error.
4. If I dont change date value and try to make it disable, it does it without throwing any error.
any help will be highly appreciated.
Thanks,
Ajay Khedekar