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






Provides a convenient way to retrieve Hierarchical Column's structure from assigned DataSource.

Syntax

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

Example

C#Copy Code
private void WebGrid1_PrepareDataBinding(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e)
{
    if(!IsPostBack)
    {
            WebGrid1.RetrieveHierarchicalStructure();
    }
}

Remarks

This method can be used in PrepareDatainding event to retrieve the structure of hierarchical grid.

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

WebGrid Class
WebGrid Members

Concepts

Retrieve Structure and Hierarchical Structure Context Command

Other Resources

SmartTag Action Panel

©2012 Intersoft Solutions Corp. All Rights Reserved.