I'm trying to bind the UltraWebtree to a WebHierarchicalDataSource using 2 sqldatasources. Practically I'm, following the sample of the sample website. (http://samples.infragistics.com/2008.2/webfeaturebrowser/WebHierarchicalDataSource/UltraWebTreeBinding.aspx)
I'm getting this error
Please verify that the DataFile or Data property has been set on the XMLDataSource.
[Exception: Please verify that the DataFile or Data property has been set on the XMLDataSource.] Infragistics.WebUI.UltraWebNavigator.UltraWebTree.BindTopLevelNodes(Node node, String nodeId) +448 Infragistics.WebUI.UltraWebNavigator.UltraWebTree.PerformDataBinding() +584 System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +85 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73 System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82 System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22 Infragistics.WebUI.UltraWebNavigator.UltraWebTree.OnPreRender(EventArgs e) +38 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
What's wrong here ?
Solved, had something to do with an update panel, although the error message had me searching in other places for a while...
What was the solution then? I'm having the same error. Why is there no reply from infragistics 'support'?
Hi ....i m facing the same problem
while running the code from the link:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.1/CLR3.5/html/WebHierarchicalDataSource_Using_WebHierarchicalDataSource_in_Code.html
Can u please let me know eloborately what i should bo to solve the above error.
I had masterpage with script manager and content page without proxy but that was not the solution if I remember it right.
Are you using the Hier.datasource with a UltraWebTree ? Because then you can't set DataKey you have to use
protected void UltraWebTree1_NodeBound(object sender, WebTreeNodeEventArgs e) { e.Node.DataKey = Set data key in this event instead of UltraWebTree.Datakey ; }