Intersoft WebGrid Documentation
LoadLayoutFromXml(String) Method
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGrid Class > LoadLayoutFromXml Method : LoadLayoutFromXml(String) Method






fileName
The layout filename.
Restore WebGrid's LayoutSettings by loading it from a saved Layout file.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub LoadLayoutFromXml( _
   ByVal fileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As WebGrid
Dim fileName As String
 
instance.LoadLayoutFromXml(fileName)
C# 
public void LoadLayoutFromXml( 
   string fileName
)
Delphi 
public procedure LoadLayoutFromXml( 
    fileName: String
); 
JScript 
public function LoadLayoutFromXml( 
   fileName : String
);
Managed Extensions for C++ 
public: void LoadLayoutFromXml( 
   string* fileName
) 
C++/CLI 
public:
void LoadLayoutFromXml( 
   String^ fileName
) 

Parameters

fileName
The layout filename.

Remarks

Developers can save commonly used Layout and apply it to WebGrid at runtime. This also enables developers to create highly customizable look and feel web applications by saving a few layout themes and let users choose their preferences at runtime.

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.