Hi,
We use the RadDatePicker in our project. When the user click the RadDatePicker button to select the date, we will check if the condition is not matched, we need to cancel the action. And I have tried several ways, but they don't work.
We use the RadDatePicker in our project. When the user click the RadDatePicker button to select the date, we will check if the condition is not matched, we need to cancel the action. And I have tried several ways, but they don't work.
function dateSelected(datepickerInstance, args) { args.CancelOpen = true; return false; }
<telerik:RadDatePicker runat="server" ID="rdp1">
<DateInput ID="DateInput2" CausesValidation="True" runat="server"></DateInput>
<Calendar ID="Calendar2" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x" runat="server"></Calendar>
<DatePopupButton HoverImageUrl="" ImageUrl=""/>
<ClientEvents OnPopupOpening="dateSelected" />
</telerik:RadDatePicker>
Please help me.
Thanks a lot!
Blind