Spread for ASP.NET 11 Product Documentation
ShowMessage
Spread for ASP.NET 11 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > ShowMessage

Shows an error message.

Syntax

[JavaScript]

FpSpread1.ShowMessage(message,row,column,time);

Parameters

message
String, message text
row
Integer, row index
column
Integer, column index
time
Integer, time (optional)

Return Type

None

Remarks

This method shows an error message. The time is the number of milliseconds the message box will stay visible. The time parameter is optional. This method does not cause a postback to occur.

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 show() {
     FpSpread1.ShowMessage(“test”,1,1,500);
     }
</script>
See Also