Call a client side Javascript method on this HtmlControl with return type of T and a default return value.
Namespace: ArtOfTest.WebAii.Controls.HtmlControls
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
Parameters
- methodCall
- Type: SystemString
The method call string. - defaultValue
- Type: T
A default value to use in case the conversion failed to the specified type and you want to return a custom default value other than default(T).
Type Parameters
- T
- The type to convert the return value of the method call to.
Return Value
Type: TThe return value of the call or the default value.
See Also