Intersoft WebCombo Documentation
ClearCachedDataSource Method
See Also  Example Send Feedback
ISNet.WebUI.WebCombo Namespace > WebCombo Class : ClearCachedDataSource Method






Clears the cached data source.

Clears the cached data source.

Syntax

Visual Basic (Declaration) 
Public Sub ClearCachedDataSource() 
Visual Basic (Usage)Copy Code
Dim instance As WebCombo
 
instance.ClearCachedDataSource()
C# 
public void ClearCachedDataSource()
Delphi 
public procedure ClearCachedDataSource(); 
JScript 
public function ClearCachedDataSource();
Managed Extensions for C++ 
public: void ClearCachedDataSource(); 
C++/CLI 
public:
void ClearCachedDataSource(); 

Example

You can add the following code in Button1_Click event handler in order to refresh WebCombo from server side.
C#Copy Code
WebCombo1.ClearCachedDataSource();

Remarks

ClearCachedDataSource method can be used to refresh WebCombo on server side. To learn more regarding this issue please read How-to: Refresh WebCombo.

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

© 2012 Intersoft Solutions Corp. All Rights Reserved.