This topic has not yet been rated - Rate this topic

DataFormWebPart.GetXPathNavigator Method

Returns a cursor model for navigating and editing XML information items in the view.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
protected virtual XPathNavigator GetXPathNavigator(
	string viewPath
)

Parameters

viewPath
Type: System.String
The path to the data source view.

Return Value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator for the data.

The path to the data source view must be passed to the Select(DataSourceSelectArguments, DataSourceViewSelectCallback) method.

Exceptions raised as a result of using the XPathNavigator class may contain sensitive information that should not be exposed in untrusted scenarios. Exceptions should be handled so that sensitive information is not exposed.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ