TreeList ItemClick directEvent

  1. #1

    TreeList ItemClick directEvent

    Hi,

    I tried to get selected text from treelist but unable to get it.

    How I can get selectednode and text of node in treeList through codebehind.

    [Ext.Net.DirectMethod(ViewStateMode = Ext.Net.ViewStateMode.Enabled)]
    private void ItemClick_Event(object sender, DirectEventArgs e)
    {
    }

    below is my exact requirement which is available in examples and expecting same in code behind like above mentioned event.

    var handleTLSel = function (me, node) {
    var pane = App.SelectionPanel,
    cn = node,
    selPath = [];

    while (!cn.isRoot()) {
    selPath.push(cn.data.text);
    cn = cn.parentNode;
    }
    pane.setHtml("Selected: <br /><b>" + selPath.reverse().join(" > ") + "</b>");
    }


    Thank you,
    Vamsi.
  2. #2
    Hi,

    Below is my exact requirement but I'm looking same in code behind not client.

    Click image for larger version. 

Name:	TreeList.png 
Views:	89 
Size:	22.9 KB 
ID:	25286

    Thank you,
    Vamsi.

Similar Threads

  1. [CLOSED] TreeList nav/micro
    By Z in forum 4.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 08, 2019, 2:24 PM
  2. [CLOSED] TreeList selection
    By Z in forum 4.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 02, 2019, 3:06 AM
  3. [CLOSED] Treelist header alignment
    By Z in forum 4.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 02, 2019, 3:05 AM
  4. [CLOSED] TreeList in Ext.NET
    By sveins12 in forum 4.x Legacy Premium Help
    Replies: 10
    Last Post: Aug 23, 2018, 3:33 PM
  5. [CLOSED] TreePanel itemClick DirectEvent
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 26, 2012, 4:53 AM

Posting Permissions