FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : EnableClientScript Property |
'Declaration Public Property EnableClientScript As Boolean
'Usage Dim instance As FpSpread Dim value As Boolean instance.EnableClientScript = value value = instance.EnableClientScript
public bool EnableClientScript {get; set;}
If this property is true and the user's browser does not support it, no validation occurs. Only up-level browsers (Internet Explorer 5.5 and later) support such scripting.
Validation of the component is performed on the server. However, you can use this property to allow the component to perform validation on the client. Client-side validation checks user input before it is sent to the server. This allows errors to be detected on the client before the form is submitted and avoids the round-trip of information necessary for server-side validation.
This property setting affects other aspects of the component besides validation, as follows:
For more information about the effects of setting this property, see Setting the EnableClientScript Property.
FpSpread1.EnableClientScript=true;
FpSpread1.EnableClientScript=True
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6