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 width of a C1Splitter:
<script id="ScriptSample" type="text/javascript">
function SetSplitterWidth ()
{
$find("<%=C1Splitter1.ClientID%>").set_width(150);
};
</script>
For a task-based help topic that illustrates how to set the width and height of a C1Splitter control on the client side, see Setting the Height and Width at Run Time.
|