SetHTMLObjectName (obsolete)
Description
Specifies a name for the Web DataWindow client control.
Obsolete method
SetHTMLObjectName is obsolete and should not be used, because the
Web DataWindow technology is obsolete.
Applies to
|
DataWindow type |
Method applies to |
|---|---|
|
Web |
Server component |
Syntax
Web DataWindow server
component
|
1 |
string dwcomponent.SetHTMLObjectName ( string objectname ) |
|
Argument |
Description |
|---|---|
|
dwcomponent |
A reference to a Web DataWindow server |
|
objectname |
A string specifying a name used in generated code for Sets the value of the HTMLGen.ObjectName |
Return value
Returns an empty string if successful and the syntax error message
from the Modify method if it fails.
Usage
You must specify a unique object name when there will be more than
one Web DataWindow on a Web page so names will not conflict.
This method calls the Modify method of the server component’s
DataStore to set the property.
Examples
This example specifies a name to be used in generated HTML for the
server component called webDW:
|
1 |
webDW.SetHTMLObjectName ("dwMine"); |
See also