How to unchecked the default saturday checked in RadSchedulerRecurrenceEditor in weekly option.
It always time checked the saturday in weekly option of RadSchedulerRecurrenceEditor.
I want to unchecked all the days in weekly option.
thanks
Best Regards,
Jiten
3 Answers, 1 is accepted
You can use this jQuery approach in the handler of the OnClientFormCreated client-side event:
functionOnClientFormCreated(sender, eventArgs) {
$telerik.$(
'input[id=RadScheduler1_Form_WeeklyWeekDaySaturday]'
).attr(
'checked'
,
false
);
}
Hope this helps.
Greetings,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
function OnClientFormCreated(sender, eventArgs)
{
$telerik.$('input[id=RadSchedulerRecurrenceEditor1_Form_WeeklyWeekDaySaturday]').attr('checked', false);
}
and then used RadSchedulerRecurrenceEditor control:
<telerik:RadSchedulerRecurrenceEditor ID="RadSchedulerRecurrenceEditor1" runat="server"
OnClientFormCreated="OnClientFormCreated()" >
</telerik:RadSchedulerRecurrenceEditor>
It is not working.
Also,
we used only this query:
function OnClientFormCreated(sender, eventArgs)
{
$telerik.$('input[id=RadSchedulerRecurrenceEditor1_Form_WeeklyWeekDaySaturday]').attr('checked', false);
}
It is not working.
please reply as soon as possible.
thanks
Best Regards
Mutum Jiten Singh
As far as I remember you've been using a RadDock control instead of the standart Advanced Form. That's why my solution includes the Id of the RadDock control when accessing the Saturday checkbox. Have you tried exactly the code I gave you?
Also one more note - you don't need the parenthesis at the end of the OnClientFormCreated event handler here:
<
telerik:RadSchedulerRecurrenceEditor
ID
=
"RadSchedulerRecurrenceEditor1"
runat
=
"server"
OnClientFormCreated="OnClientFormCreated()"
>
</telerik:RadSchedulerRecurrenceEditor>
Best wishes,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.