---
title: "BaseViewer..::.LoadPostData Method "
canonical: https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_BaseViewer_LoadPostData_2_aa40c260.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# BaseViewer.LoadPostData Method 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Processes the postback data for the [BaseViewer](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) control.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```csharp
protected virtual bool LoadPostData(string postDataKey,NameValueCollection postCollection
)
```
 
### Parameters
 
 - postDataKey
     - Type: [System..String](http://msdn2.microsoft.com/en-us/library/s1wwdcbf)
The index within the posted collection that references the content to load.

 - postCollection
     - Type: [System.Collections.Specialized..NameValueCollection](http://msdn2.microsoft.com/en-us/library/689y5thy)
The collection posted to the server.
 
### Return Value
 **true** if the posted content is different from the last posting; otherwise, **false**.
 
## Remarks
  
The LoadPostData(String, NameValueCollection) method is used primarily by control developers.
 
The LoadPostData(String, NameValueCollection) method checks if the postback data of the [BaseViewer](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) control is different from its previous value, and if so, loads the content and returns **true**.
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
