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
615
WebDataTree calling root of the application?
posted

I have a problem with the webdatatree: it seems to be calling the root of the webapplication and thus loading default.aspx.

What I did was the following:

  1. Created a new website with 2 pages, default.aspx and test.aspx.
  2. On test.aspx I dropped a webdatatree and I added some code to add nodes via the API (Nodes.Add("...))
  3. Added a "Debugger.Break()" in the the Page_Load method of default.aspx
  4. Added a javascript refresh function the the onload event of the body element of test.aspx in order to be able to quickly test the behaviour I was seeing.
  5. Run the application (with test.aspx as startpage).

 

Now, sometimes immediately, sometimes after a while, I run in the breakpoint of default.aspx. When I log the http trafic, I see that a call is being made to the root of the application and thus resulting in the loading of default.aspx.

Is this a bug, or am I doing something wrong?