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

TreeView | When customErrors are ON all errors come back as "There was an error in the callback.s[]_$$_"

2 Answers 135 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mikhail
Top achievements
Rank 1
Mikhail asked on 09 Mar 2012, 04:59 PM
We are using  Telerik.Web.UI   v. 2009.3.1208.0.

When customErrors are ON all errors come back as "There was an error in the callback.s[]_$$_"

If customErrors are turned OFF all error come back with proper messages (what was thrown from server side)

Steps to reproduce.

1) On the server side handle NodeExpand  event from the Telerik.Web.UI.RadTreeView
2) Within the method that handles the NodeExapend thrown an exception with some text "This is the error"
3) Make sure your web.config had this line  <customErrors mode="On" defaultRedirect="~/Error/ErrorPage.aspx"  redirectMode="ResponseRewrite" />
4) Click on the node and you will get an alert text box with the following text:  "There was an error in the callback.s[]_$$_"


If customErrors are turned off alert text box comes back with the right text: "This is the error.s[]_$$_" 

Please, help!

2 Answers, 1 is accepted

Sort by
0
Mikhail
Top achievements
Rank 1
answered on 12 Mar 2012, 07:43 PM
Guys,

any help on this? Seems like a bug in telerik
0
Plamen
Telerik team
answered on 14 Mar 2012, 03:16 PM
Hi Mikhail,

 
I inspected the issue but could not reproduce the error. Would you please share that code that will help us observe the error locally?


All the best,

Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeView
Asked by
Mikhail
Top achievements
Rank 1
Answers by
Mikhail
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or