Event handler for OnNodeClick not fired

1 posts, 0 answers
  1. Vic
    Vic avatar
    1 posts
    Member since:
    Jul 2008

    Posted 29 Sep 2008 Link to this post

    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>

Back to Top