This is a migrated thread and some comments may be shown as answers.

Timeout Problems

7 Answers 293 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 29 Jun 2008, 10:25 AM
Hello,

I've been having a number of problems with a treeview control on a page I'm using. Many users (including myself) get a request timed out error when the treeview rebinds. So basically, I add an item to the tree, and it just sits and the refresh won't happen. The item does add to the tree and it appears to complete the code on my end, it just gets stuck trying to rebuild the tree or something.

Has anyone else run into this kind of thing?

Thanks,

Mike

7 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 30 Jun 2008, 01:15 PM
Hi Mike,

Timeouts usually occur if a time-consuming event happens on the server and it takes too long to complete or never does. For instance, binding to a huge dataset, generating thousands of Nodes, infinite loops, etc.

Could you please check whether such an event takes place in your application at some moment?

Greetings,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mike
Top achievements
Rank 1
answered on 30 Jun 2008, 05:20 PM
Hello,

Thanks for your reply.

I don't think that's an issue. It is bound to a db... but I fill the tree from code on the server.... Usually with very few nodes - usually as low as 5 or 10... and with no children.

In debug mode, whenever I've replicated it (the issue only happens sometimes), my code runs just fine, then after it finishing running the code on the server, it hangs building the page.

When it works, it usually is almost instantaneous. So the build happens right away... but every now and then it seems to get hung up.
0
Simon
Telerik team
answered on 01 Jul 2008, 01:08 PM
Hello Mike,

Indeed this is strange as the TreeView is unlikely to cause such timeouts.

Could you try removing the TreeView from the page and test to see whether the timeouts continue to occur or stop completely?

All the best,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mike
Top achievements
Rank 1
answered on 09 Jul 2008, 06:18 PM
Hello,

Sorry for the delay in getting back on this - been pretty busy. I am almost positive it's the treeview. Unfortunately, I can't remove it from the page. The timeouts only occur though with postbacks involving the treeview. I watched the thing in firebug and it found the error below... maybe it will help.

Thank you... and again, I'm sorry for the vague nature of this problem.

Mike


[Exception... "'Sys.ParameterCountException: Sys.ParameterCountException: Parameter count mismatch.' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "JS frame :: http://localhost:50562/MyISA/ScriptResource.axd?d=TJSxUSeg1l0s7oI2bAnYUibmMEDMvKOkwcmOQ-M9tlhH7YVUwgraqLFCDNNBMi9PMyXppdInaqbBIwPWI61HB7u8UbTPR2XtLQdW5LOrvaM1&t=633444930382031033 :: this$_onTimeout :: line 4029"  data: no]
http://localhost:50562/MyISA/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2008.1.515.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a3eb4cff8-ba47-459f-9938-40a153a06c71%3a393f5085%3a9703c1f0%3aa3f85c94%3a665c7bcf%3a34f9d57d%3a3c2b629f%3acf187033%3a37e97092%3a1d42ade9%3af2a57eb7%3ac4e0cafb%3aa9723048%3a819163f9%3abdca08ad%3a3ba75f4d%3a4b6f7e66%3ac6335cbd%3a6dd34527%3a526d426%3a80c4ad6d%3bAjaxControlToolkit%2c+Version%3d1.0.20229.20821%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3ac5c982cc-4942-4683-9b48-c2c58277700f%3a1df13a87%3bAjaxControlToolkit%2c+Version%3d1.0.20229.20821%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3ac5c982cc-4942-4683-9b48-c2c58277700f%3a2d3f89a8
Line 3866
0
Simon
Telerik team
answered on 10 Jul 2008, 08:48 AM
Hi Mike,

Thank you for the additional info.

Could you also try replacing RadScriptManager with ScriptManager? Does the problem still persist in this case?

Greetings,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mike
Top achievements
Rank 1
answered on 10 Jul 2008, 02:03 PM
Hello,

Let me just say again - thank you for the help - Telerik is really an amazing company...

Anyway - still having the problem after replacing the script manager. Here's the error from firebug (below).

I actually expanded it out this time... it had a few lines at the bottom I thought might help...

Some of these lines make reference to drag and drop functionality. So I actually tried eliminating that from the control as well... but that didn't help either.

Thanks,

Mike


[Exception... "'Sys.ParameterCountException: Sys.ParameterCountException: Parameter count mismatch.' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: http://localhost:50562/MyISA/ScriptResource.axd?d=TJSxUSeg1l0s7oI2bAnYUibmMEDMvKOkwcmOQ-M9tlhH7YVUwgraqLFCDNNBMi9PMyXppdInaqbBIwPWI61HB7u8UbTPR2XtLQdW5LOrvaM1&t=633444930382031033 :: this$_onTimeout :: line 4029" data: no]
(?)()ScriptResource.ax... (line 50)
browserHandler(mouseout clientX=1432, clientY=480)ScriptResource.ax... (line 3034)
while(_6a.nodeType!==9){
0
Atanas Korchev
Telerik team
answered on 10 Jul 2008, 02:09 PM
Hi Mike,

This is a client-side error and should not cause server-side timeouts. Is there any live url where we can observe the problem? Alternatively you could open a support ticket and send us a sample project (or exceprt from your project).

We are getting out of ideas and I am afraid we cannot provide a solution unless we reproduce the problem on our side.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Mike
Top achievements
Rank 1
Answers by
Simon
Telerik team
Mike
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or