Version

AddLinkedResponseRenderer Method

Add a control located outside of WebAsyncRefreshPanel which will be updated while a hidden asynchronous postback triggered by WebAsyncRefreshPanel.
Syntax
'Declaration
 
Sub AddLinkedResponseRenderer( _
   ByVal control As Object _
) 
void AddLinkedResponseRenderer( 
   object control
)

Parameters

control
If control implements ICallBackResponseRenderer, then RenderHtmlAtIndex will be called. Otherwise, control should be represented on client by an html element which id should match with the value of UniqueID of control. If control in instance of TextBox, then the htmlElement.value will be updated from the control.Text property. If control in instance of ComboBox, then the htmlElement.selectedIndex will be updated from the control.SelectedIndex property. If control has Value property, then the htmlElement.value will be updated from that property. If control has Text property, then the htmlElement.value will be updated from that property.

If id of html element is different from UniqueID, then CallBackManager attempts to find html element which id is based on UniqueID: replacing the ":" character by the "_" character, appending "_hidden", etc.

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