---
title: "BaseViewer..::.LoadPostData Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_BaseViewer_LoadPostData_2_aa40c260.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# BaseViewer.LoadPostData Method 
 
Processes the postback data for the [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) control.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
Protected Overridable Function LoadPostData ( _postDataKey As String, _postCollection As NameValueCollection _
) As Boolean
```
 
```csharp
protected virtual bool LoadPostData(string postDataKey,NameValueCollection postCollection
)
```
 
### Parameters
 
 - postDataKey
     - Type: [System.String](http://msdn2.microsoft.com/en-us/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/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/gm5/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/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
