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

How to unchecked the defualt saturday checked in RadSchedulerRecurrenceEditor in weekly option.

3 Answers 98 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jiten
Top achievements
Rank 1
Jiten asked on 22 Jun 2011, 08:49 AM
hello,

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

Sort by
0
Veronica
Telerik team
answered on 22 Jun 2011, 09:43 AM
Hello Jiteni,

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.

0
Jiten
Top achievements
Rank 1
answered on 23 Jun 2011, 07:42 AM
We used this function:
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
0
Veronica
Telerik team
answered on 30 Jun 2011, 08:12 AM
Hi Jiteni,

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:RadSchedulerRecurrenceEditorID="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.

Tags
Scheduler
Asked by
Jiten
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Jiten
Top achievements
Rank 1
Share this question
or