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

Event handler for OnNodeClick not fired

0 Answers 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vic
Top achievements
Rank 1
Vic asked on 29 Sep 2008, 05:38 PM
Hi there,

A RadTreeView control is used as following. Child nodes are populated when the node gets clicked. When debugging the code, I found that the server function "RadTreeView_Catalog_NodeClick" is not fired. So I am not able to populate the treeview on demand.

Expecting help to solve the problem.

Thanks

P.S. The problem is the same event it's not placed in UpdatePanel.

<asp:UpdatePanel ID="UpdatePanel_Catalog_TreeView" runat="server" UpdateMode="Always">

<ContentTemplate>

<telerik:RadTreeView ID="RadTreeView_Catalog" runat="server"

OnClientContextMenuShowing="RadTreeView_Catalog_Contextmenu_SetItems"

OnContextMenuItemClick="RadTreeView_Catalog_OnContextMenuItemClick"

OnNodeClick="RadTreeView_Catalog_NodeClick"

>

<ContextMenus>

<telerik:RadTreeViewContextMenu ID="RadTreeView_Catalog_Contextmenu">

<Items>

<telerik:RadMenuItem ImageUrl="~/App_Image/Icon_Server_Refresh.BMP" PostBack="true" Text="Refresh" Value="Refresh" />

<telerik:RadMenuItem ImageUrl="~/App_Image/Icon_Dataset_AddDataLayers.BMP" PostBack="true" Text="Add to Data Layers" Value="AddDatalayer" />

</Items>

<CollapseAnimation Duration="200" Type="OutQuint" />

</telerik:RadTreeViewContextMenu>

</ContextMenus>

</telerik:RadTreeView>

</ContentTemplate>

</asp:UpdatePanel>

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Vic
Top achievements
Rank 1
Share this question
or