Share via


DateTimeControl.IPostBackDataHandler.LoadPostData Method

Loads the posted content of the control, if it is different from the last posting.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Private Function LoadPostData ( _
    postDataKey As String, _
    postCollection As NameValueCollection _
) As Boolean Implements IPostBackDataHandler.LoadPostData
'Usage
Dim instance As DateTimeControl
Dim postDataKey As String
Dim postCollection As NameValueCollection
Dim returnValue As Boolean

returnValue = CType(instance, IPostBackDataHandler).LoadPostData(postDataKey, _
    postCollection)
boolIPostBackDataHandler.LoadPostData(
    string postDataKey,
    NameValueCollection postCollection
)

Parameters

  • postDataKey
    Type: System.String

    The key identifier for the control, used to index the postCollection parameter.

Return Value

Type: System.Boolean
true if the posted content is different from the last posting; otherwise, false.

Implements

IPostBackDataHandler.LoadPostData(String, NameValueCollection)

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace