Intersoft WebGrid Documentation
RenderControl Method
See Also  Example Send Feedback
ISNet.WebUI.WebGrid Namespace > ClientSideAction Class : RenderControl Method






targetCtrl
Gets the refresh individual control using ClientSideAction on the WebGrid.

Syntax

Visual Basic (Declaration) 
Public Sub RenderControl( _
   ByVal targetCtrl As Control _
) 
Visual Basic (Usage)Copy Code
Dim instance As ClientSideAction
Dim targetCtrl As Control
 
instance.RenderControl(targetCtrl)
C# 
public void RenderControl( 
   Control targetCtrl
)
Delphi 
public procedure RenderControl( 
    targetCtrl: Control
); 
JScript 
public function RenderControl( 
   targetCtrl : Control
);
Managed Extensions for C++ 
public: void RenderControl( 
   Control* targetCtrl
) 
C++/CLI 
public:
void RenderControl( 
   Control^ targetCtrl
) 

Parameters

targetCtrl

Example

C#Copy Code
WebGrid.ClientAction.RenderControl(TextBox1);

Remarks

One of key enhancements in the OnTheFly-PostBack architecture is the ability to refresh other server controls during the OnTheFly-PostBack context. The architecture now provides these functionalities and therefore resulting in greater user experience.
In manual mode you can refresh individual control using ClientAction's RenderControl method (Like shown on example above).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

ClientSideAction Class
ClientSideAction Members

Tasks

How-to: Refresh other controls during update

Concepts

ClientAction Engine
OnTheFly-PostBack Architecture Reloaded

©2012 Intersoft Solutions Corp. All Rights Reserved.