Can I get repeater item count in the javascript script method?
<p>I have one requirement. I have a repeater in the usercontrol and devexpress button in the parent view. I'm calling clientsideevents from the button like below:</p>

<pre><code>    &lt;dx:ASPxButton ID="btnNextStep" runat="server" Text="Proceed to Step 2" AutoPostBack="False" UseSubmitBehavior="False"&gt;

                        &lt;clientsideevents click="function(s, e) {
                        { ToggleActive(); } }" /&gt;                            


                        &lt;Image Url="~/next.png" /&gt;

      &lt;/dx:ASPxButton&gt;
</code></pre>

<p>Now I want to put some check in the ToggleActive() method like if repeater doesn't have any item then it should not goes to next step and show an alert like you don't have any item in the respective repeater. My question is like how to get the total item count in the JavaScript method ToggleActive();</p>
