TreeView Problem in Excel Task Pane

Add-in Express™ Support Service
That's what is more important than anything else

TreeView Problem in Excel Task Pane
 
Prashant Verma




Posts: 56
Joined: 2008-08-24
Add-in Express version: Add-in Express 2009 for .net

A project using addin is created which works for Word and Excel. It shows task pane at the left side of Word and Excel.

In the taskpane, treeview control is added. It contains some parent and child nodes. on right clicking the context menu for the selected node will be opened.This context menu performs the Rename operation. on clicking the menu item label edit operation for the selected node must be performed.

In word this function works successfully.

But in Excel it is not working properly.By right clicking on a item shows the context menu. On clicking the rename option of the context menu when we try to edit the label of the selected node the Excel workbook's Active cell gets edited.Thus rename operation doesn't work.

//On right clicking any node of the treeview control named
//"treeViewForDummy" context menu opens.
//item1ToolStripMenuItem is the name of the context menu item.
//On clicking the context menu item the following operation performed.

private void item1ToolStripMenuItem_Click(object sender, EventArgs e)
{
this.treeViewForDummy.LabelEdit = true;
//Starts editing the label of the selected node
this.treeViewForDummy.SelectedNode.BeginEdit();
}


NOTE: Code executes without any error.
Posted 29 Sep, 2009 11:09:58 Top
Prashant Verma




Posts: 56
Joined: 2008-08-24
I have emailed a test project that reproduces this problem to the support email address of Add-in-Express
Posted 29 Sep, 2009 11:13:25 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Prashant,

I've got the project. As soon as I have any news on this issue, I'll let you know.


Andrei Smolin
Add-in Express Team Leader
Posted 29 Sep, 2009 11:34:33 Top
Fedor Shihantsov


Guest


Hello Prashant,

We have fixed this issue.
I have just sent you an email.
Please check your Inbox.
Posted 21 Oct, 2009 09:50:59 Top