I am having a problem with the AfterClientCallBackError. I expect my function to get executed after a callback error was raised but my function was not called, and a default javascript error message was shown instead. (I am seeing something like "UnAuthorized[]_$$_") in the javascript alert. Are there any other event(s) that I can subscribe to to handle the callback error?
I am using Telerik.Web.UI (2008.1.619.20). The AfterClientCallBackError function was defined like this:
The nodes' ExpandMode were set to ServerSideCallBack and I already tried putting the function before and after the treeview markup but both had the same problem.
Please help.
I am using Telerik.Web.UI (2008.1.619.20). The AfterClientCallBackError function was defined like this:
function AfterClientCallBackError(node) |
{ |
alert("The error occured when you tried to expand the " + node.Text + " node"); |
} |
The nodes' ExpandMode were set to ServerSideCallBack and I already tried putting the function before and after the treeview markup but both had the same problem.
<telerik:RadTreeView ID="_uscRadTrvtAuthority" runat="server" AfterClientCallBackError ="AfterClientCallBackError" OnClientContextMenuShowing="ClientContextMenuShowing" EnableDragAndDrop="true" AllowNodeEditing="true" OnNodeEdit="_uscRadTrvtAuthority_NodeEdit" Skin="Web20" ShowLineImages="False" CssClass="RadTreeView" OnClientNodeEditing="OnClientNodeEditing_uscRadTrvtAuthority" OnClientContextMenuItemClicking='OnClientContextMenuItemClicking'> |
<ContextMenus> |
<telerik:RadTreeViewContextMenu ID="ContextMenu1"> |
<Items/> |
</telerik:RadTreeViewContextMenu> |
</ContextMenus> |
<CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation> |
<ExpandAnimation Duration="100"></ExpandAnimation> |
</telerik:RadTreeView> |
Please help.