I tried to test example what is in Radtreeview's help "Adding node which is in edit mode by default from context menu of Telerik RadTreeView" with radajaxmanager. It works with control for asp.net. But problem is when i used Prometheus ajax manager. It works fine when I add node on server side and node start edit on client side for existing nodes, but it doesn't work for just added node.
When it try find the last added node "FindNodeByValue(text)" the result is null.
Is there another way for set up edit mode (startedit) after add new node on server?
Or do you think that is correct way to do it, but problem is anywhere else?
Thanks
Vita
When it try find the last added node "FindNodeByValue(text)" the result is null.
Is there another way for set up edit mode (startedit) after add new node on server?
Or do you think that is correct way to do it, but problem is anywhere else?
Thanks
Vita
5 Answers, 1 is accepted
0
Hi vita,
I prepared a small and running project for you. Attached, please find the files. Download them and give them a go.
Hope this helps.
Regards,
Nick
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I prepared a small and running project for you. Attached, please find the files. Download them and give them a go.
Hope this helps.
Regards,
Nick
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
vita
Top achievements
Rank 1
answered on 15 Nov 2007, 06:48 PM
Hi Nick,
Thaks a lot for your time whith this project, but I'm sorry, this project doesn't work too. The error, after add first new child, is: "...'window.RadTreeView1.FindNodeByText(...)' has value null or it isn't object".
I think, the problem isn't in method how find node (value or text), but at what it do as first. Earliest is calling script what is in " RadAjaxManager1.ResponseScripts.Add(.." and after is additing new node (on client side). This is the reason why the result of the find method is null.
If your attached project works, so probably problem is somewhere else.
I have got windows vista ultimate, vs2008 beta2, your project was running on NET. framework 2.0, the lastest version of your controls v2007.2.1107.0, system.web.extensios is 1.0.61025.0.
At the end i tried to change RadAjaxManager of telerik.web.ui onto RadAjax.Net2 "only" in your project and how i expected, it works. So, where is problem?
Thanks
Vita
Thaks a lot for your time whith this project, but I'm sorry, this project doesn't work too. The error, after add first new child, is: "...'window.RadTreeView1.FindNodeByText(...)' has value null or it isn't object".
I think, the problem isn't in method how find node (value or text), but at what it do as first. Earliest is calling script what is in " RadAjaxManager1.ResponseScripts.Add(.." and after is additing new node (on client side). This is the reason why the result of the find method is null.
If your attached project works, so probably problem is somewhere else.
I have got windows vista ultimate, vs2008 beta2, your project was running on NET. framework 2.0, the lastest version of your controls v2007.2.1107.0, system.web.extensios is 1.0.61025.0.
At the end i tried to change RadAjaxManager of telerik.web.ui onto RadAjax.Net2 "only" in your project and how i expected, it works. So, where is problem?
Thanks
Vita
0
Hello Vita,
We were able to reproduce the problem on VS2008 beta 2 using both .NET3.5 and .NET2.0. Still we believe this is more complex issue than it seems on first look and we will wait for the VS2008 RTM, before making any hasty conclusions. The code we provided in the same would work when uploaded on live server, so you can continue with your development.
Please excuse us for the inconvenience.
Regards,
Steve
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We were able to reproduce the problem on VS2008 beta 2 using both .NET3.5 and .NET2.0. Still we believe this is more complex issue than it seems on first look and we will wait for the VS2008 RTM, before making any hasty conclusions. The code we provided in the same would work when uploaded on live server, so you can continue with your development.
Please excuse us for the inconvenience.
Regards,
Steve
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
thepilsbury
Top achievements
Rank 1
answered on 29 Feb 2008, 04:33 PM
Do you have an update for this problem yet? I am experiencing the same issue in VS2008 RTM and also when it is uploaded to the server for testing.
Thanks,
Daz
Thanks,
Daz
0
Hi thepilsbury,
Have you tried the latest Web.UI release currently available under your Client.net account. I suggest that you download the files and give them a go. If the problem persists, please open a new support ticket and attach a small and running demo. We will test it locally and try to find a solution for you.
Thanks for your time.
Regards,
Nick
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Have you tried the latest Web.UI release currently available under your Client.net account. I suggest that you download the files and give them a go. If the problem persists, please open a new support ticket and attach a small and running demo. We will test it locally and try to find a solution for you.
Thanks for your time.
Regards,
Nick
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
