# Export and Import Layout

Create multiple copies of same layout using the formlike control. InputPanel Award-Winning Suite of Controls for .NET Development. Read the documentation to know more.

## Content



The InputPanel control supports export and import of its layout making it easy to replicate the same layout in multiple applications.

To save the InputPanel layout as XML at design time, you can use the **Save as XML File** option provided by **C1InputPanel Tasks** menu or context menu of the control. To export the layout using code, you can use **Save()** method of the <span data-popup-content="\u003cp\u003eThis class is available in \u003ca href=\u0022/componentone/docs/win/online-inputpanel/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-inputpanel/\u0022\u003e.NET Framework\u003c/a\u003e.\u003c/p\u003e" data-popup-title="C1InputPanel" data-popup-theme="ui-tooltip-green qtip-green">C1InputPanel</span> class.

**csharp**

```csharp
// Save the InputPanel definition as an XML file
   c1InputPanel1.Save("C:\\Users\\Documents\\Sample1.xml");    
```

**vbnet**

```vbnet
' Save the InputPanel definition as an XML file
   c1InputPanel1.Save("C:\\Users\\Documents\\Sample1.xml")        
```

Similarly, to load layout from an XML at design time, the InputPanel control provides **Load From XML File** option through its tasks menu as well as through context menu. At runtime, you can use the **Load()** method to fetch InputPanel definition from an XML and draw the InputPanel layout.

**csharp**

```csharp
// Load the InputPanel definition from an XML file
   c1InputPanel1.Load("C:\\Users\\Documents\\Sample2.xml");            
```

**vbnet**

```vbnet
' Load the InputPanel definition from an XML file
  c1InputPanel1.Load("C:\Users\Documents\Sample2.xml")                        
```

## See Also

[Validation](/componentone/docs/win/online-inputpanel/inputvalidation)