ComponentOne ProgressBar for ASP.NET AJAX: Client-Side Functionality > Client-Side Properties

Client-Side Properties

The following conventions are used when accessing the client object properties:

      Server properties on the client are implemented as a pair of Get- and Set- methods.

      Method names must start with "get_" (Get-method) and "set_" (Set-method) followed with the server property name. The first letter of the server property name must be lowercase (camel case).

 

The following JavaScript example sets the selected index of a C1ProgressBar control to 50.

 

<script id="ScriptSample" type="text/javascript">

function SetMaximum ()

{

  $find("<%=C1ProgressBar1.ClientID%>").set_maximumValue(50);

};

</script>

For more information on client-side properties, see C1ProgressBar’s client-side reference


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.