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

Recurrence editor Recurrence checkbox client side event?

1 Answer 57 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 16 Nov 2011, 08:24 PM
Hi, I am wondering if there is any way to trap the Recurrence checkbox checked event client side? It would be wonderful to be able to get the checkbox state client side to do some validation on other data on our form. Thanks.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 21 Nov 2011, 03:07 PM
Hello Karl,

 
You can use jQuery as shown in the following code:

function OnClientFormCreated(sender, args) {
           var $ = $telerik.$;
           var recur = $(".RecurrenceEditor .rsAdvChkWrap input:checkbox").click(function () {
               if ($(this).attr('checked') == 'checked') {
                   alert("checked");
               }
               else {
                   alert("unchecked");
               }
           });
       }

Hope this helps.

Greetings,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Scheduler
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or