Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
WebDataTree
posted

Hi,

I am using WebDataTree control and adding nodes to the tree instead of Xml DataBind. Also implemented Load on Demand concept using

the below logic.

this.TreeControl.NodeBound += new DataTreeNodeEventHandler(TreeControl_NodeBound);
this.TreeControl.NodePopulate += new DataTreeNodeEventHandler(TreeControl_NodePopulate);

Data loads fine for first time and when I try to expand nodes, it showing "Server does not respond" on hosting machine. If I refresh the page, expanding nodes are just working fine.

In debug mode, it showing "async failed"

Tree Expand Issue

Tree Expand 2

Server Tag:

 <ig:WebDataTree ID="TreeControl" runat="server" Visible="true" Height="100%" ForeColor="Black" EnableConnectorLines="true" EnableAjaxViewState="true">
                 <ClientEvents  
    			            NodeClick="nodeClick"
			                NodeExpanding="nodeExpand" 
                            NodeCollapsing="nodeCollapse"       
                               Initialize="InitializeHandler"
                            /> 
                </ig:WebDataTree>

Thanks,

Karthik Thangavel.

Parents Reply
  • 21675
    Verified Answer
    Offline posted in reply to Karthik Thangavel

    Sample_02.zip

    Hello Karthik,

    Thank you for your feedback.

    Please find bellow answers to your questions:

    1. That is ok. Please lets focus on WebDataTree;
    2. Yes, that is correct, however this is not WebDataTree realted;
    3. Yes, that is correct.
    4. Attached is a small sample where I have tried to reproduce this issue. I am overriding ProcessRequest in the same way as you did.
    5. In my sample no exception is thrown.
    6. UltraWebTree is totally different control not related in any way to WebDataTree.

    As I wrote above attached is a small sample where I tried to reproduce this issue with no success. Please run my sample at your side, and let me know if you are able to reproduce the issue. If my sample does not correctly represents what you are trying to achieve in your code, please fill free to modify it, and send it back to me. Or you can send me a sample of your own reproducing this issue. Note that if we are not able to reproduce this at our side there is not much we can do about it.

    Looking forward to your reply and reproducing sample.

Children