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

4 posts, 0 answers
  1. Jiten
    Jiten avatar
    66 posts
    Member since:
    Dec 2010

    Posted 22 Jun 2011 Link to this post

    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
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 22 Jun 2011 Link to this post

    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.

  3. Jiten
    Jiten avatar
    66 posts
    Member since:
    Dec 2010

    Posted 23 Jun 2011 Link to this post

    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
  4. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 30 Jun 2011 Link to this post

    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.

Back to Top