DataFormWebPart.ForceDataBind method (Boolean)

Forces the current control to perform the data binding, with the possibility of deferring the XSLT transform, even if the control previously performed the data binding.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub ForceDataBind ( _
    bDefer As Boolean _
)
'Usage
Dim instance As DataFormWebPart
Dim bDefer As Boolean

instance.ForceDataBind(bDefer)
public void ForceDataBind(
    bool bDefer
)

Parameters

  • bDefer
    Type: System.Boolean

    true to defer the XSLT transform until page rendering, when the XSLT transformation result is directly written to the page render output; otherwise false.

Remarks

After data binding is complete, this method re-creates the collection of child controls.

See also

Reference

DataFormWebPart class

DataFormWebPart members

ForceDataBind overload

Microsoft.SharePoint.WebPartPages namespace