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

Node Click triggers Page Refresh when used in DNN 6.x

4 Answers 82 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mojeeb
Top achievements
Rank 1
Mojeeb asked on 24 Jul 2012, 05:44 PM
Hi,
I am using RadTreeView in my project which is running in DNN website. I am using DNN 5.5.x and a DNN 6.x Environment for testing my project. The problem is that in DNN 6.x when i click a node, which is not the top level node, the page is reloaded or refreshed and the node click event is not firing. If i click the top level node, then the node click event fires without a page refresh. The exact same code works perfectly fine in DNN 5.5.x.
I am building the RadTreeView from the code behind. I load the tree with different nodes on NodeExpand event. Any help or suggestion or idea on fixing this issue in DNN 6.x will be a great help.

4 Answers, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 27 Jul 2012, 10:40 AM
Hello Mojeeb,

I wasn't able to replicate the described issue locally. Take a look at the following video showing how RadTreeView behaves when incorporated inside DNN module: http://screencast.com/t/nE2LJwxIIDql.

What is the version of RadControls for ASP.NET AJAX that you use in your application?

Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Mojeeb
Top achievements
Rank 1
answered on 27 Jul 2012, 12:20 PM
Hi,
Thanks for the reply. I am using telerik version 2011.02.915.35.
I create all the tree nodes from the code behind. and at the node expand event i add the child nodes. The problem is that after the node expand if I click any node, either top level or a child, the page will refresh. but if i don't expand any node than i can click on any node in first level and it works correctly.
I am attaching a video here http://screencast.com/t/jfOxLY3ouhbP  that should explain what i am saying. in the video i use the same code which is used as a module in 2 different DNN versions, 5.x and 6.x. Then it shows the same tree structure and the functionality in the module. In DNN 6 the node click event after expanding any node triggers a page refresh and this does not happen in the DNN 5.
0
Plamen
Telerik team
answered on 01 Aug 2012, 01:55 PM
Hi,

 
I have inspected the video that you sent us. This behavior is quite unusual and most probably caused by some changes in DNN 6 described in this forum thread and in this blog post. You can try some of the advice provided there in your scenario as well.

Hope this will be helpful.

Greetings,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Mojeeb
Top achievements
Rank 1
answered on 03 Aug 2012, 08:27 AM
Hi,
Thanks for the help. After reading some of these articles, i realized that the problem might be with the page's view state not being maintained correctly. so i went into the DNN 6's host settings and then under the performance settings section, i changed the page state persistence to Page instead of Memory. than my rad tree started to work. I than checked the DNN 5's performance settings and it was already set to Page and not Memory.
Tags
TreeView
Asked by
Mojeeb
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Mojeeb
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or