Version

GetNumberOfHtmls Method

Get a number of special htmls. That method is called by the WebAsyncRefreshPanel to manage linked controls.
Syntax
'Declaration
 
Function GetNumberOfHtmls() As Integer
int GetNumberOfHtmls()

Return Value

All controls that render only itself in a single html should return -1. The UltraWebTab should return a number of tabs in response. A value of 0 will tell to WebAsyncRefreshPanel to skip writing the control to response stream.
Remarks

The rendered html and returned string are passed back to the doResponse javascript function implemented by Control on client as pairs of elements in array.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also