Condividi tramite


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)
Available in Sandboxed Solutions: No

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