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

Create new node with edit option

1 Answer 32 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ali Faraji
Top achievements
Rank 1
Ali Faraji asked on 17 Jul 2010, 02:26 PM
Hi telerik team,

i had my code to create new node and option to enter its name in the radtreeview.
as the code below.

it is working in IIS6 and not in IIS7 can any one help me about this.

Private Sub startNodeInEditMode(ByVal nodeValue As String)
        'find the node by its Value and edit it when page loads
        Dim js As String = "Sys.Application.add_load(editNode); function editNode(){ "
        js += "var tree = $find(""" + ObjFoldersTree.ClientID + """);"
        js += "var node = tree.findNodeByValue('" + nodeValue + "');"
        js += "if (node)  tree._startEdit(node); "
        js += "Sys.Application.remove_load(editNode);};"
 
        RadScriptManager.RegisterStartupScript(Page, Page.[GetType](), "nodeEdit", js, True)
    End Sub

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 21 Jul 2010, 02:13 PM
Hello Ali Faraji,

How exactly does it fail? Is there some error thrown?

Hope that soon we will resolve your problem!


Regards,
Nikolay Tsenkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Ali Faraji
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or