Visual Basic (Declaration) | |
---|---|
Public Property EnableClientScript As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FpSpread Dim value As Boolean instance.EnableClientScript = value value = instance.EnableClientScript |
C# | |
---|---|
public bool EnableClientScript {get; set;} |
Property Value
true to enable client scripting; otherwise falseIf 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:
- Certain events do not occur, depending on this property setting and the setting for the SheetView object's OperationMode setting
- Some features of default sheet skins provided with the product do not appear the same depending on the property setting
- The command bar displays different command buttons
- NamedStyle should have a Parent property set to allow cell editing
For more information about the effects of setting this property, see Setting the EnableClientScript Property.
C# | Copy Code |
---|---|
FpSpread1.EnableClientScript=true; |
Visual Basic | Copy Code |
---|---|
FpSpread1.EnableClientScript=True |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
Reference
FpSpread ClassFpSpread Members