Spread ASP.NET 17
Spread for ASP.NET 17 Product Documentation / Client-Side Scripting Reference / Scripting Members / Methods / GetChildSpreads
In This Topic
    GetChildSpreads
    In This Topic

    Gets an array of the child Spread objects of the displayed page on the client.

    Syntax

    [JavaScript]

    var list = FpSpread1.GetChildSpreads();

    Parameters

    None

    Return Type

    Array of Spread objects (HTML elements)

    Remarks

    This method gets an array of the Spread objects of the page displayed on the client.

    Example

    This is a sample that contains the method. On the client side, the script that contains the method would look like this:

    JavaScript
    Copy Code
    <script type="text/javascript">
       function displayChildSpreads() {
          var list = FpSpread1.GetChildSpreads();
          if (list!=null) {
             alert("There are "+list.length+" child Spreads created.");
          }
       }
    </script>
    
    See Also