Sets the MenuItem.DataPath property of the specified System.Web.UI.WebControls.MenuItem object with the specified value.
- node
The System.Web.UI.WebControls.MenuItem to set.
- dataPath
The data path for the System.Web.UI.WebControls.MenuItem.
The Menu.SetItemDataPath(MenuItem, string) method is a helper method used by derived classes to set the MenuItem.DataPath property of the specified System.Web.UI.WebControls.MenuItem object.