Hi Swetha,
Thank you for the provided code snippet and elaborated details on your scenario.
If the "repeater" and "checkAllAlternates" controls do not have the required
runat="server" attribute, unexpected behavior might occur. Please ensure that it is set.
Furthermore, you can try using the built-in .findElement() method to access the repeater and see if that works for you. To get a reference you can either use the Page load event as shown in the example below, or subscribe the grid to its
OnGridCreated client-side event and run the logic there.
More information on accessing controls and elements could be found here:
Access Telerik Controls on Client-Side.
I have noticed that for each iteration you are setting the repeatertable to "0" and after that in the if clause you are comparing the repeatertable to a null value. I would suggest you to be setting the repeater to "null" rather than "0".
Please implement the aforementioned suggestions and get back to us to share the outcome.
Kind regards,
Tsvetomir
Progress Telerik
Get
quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More.