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

5 posts, 0 answers
  1. Mojeeb
    Mojeeb avatar
    6 posts
    Member since:
    Jul 2012

    Posted 24 Jul 2012 Link to this post

    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.
  2. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 27 Jul 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mojeeb
    Mojeeb avatar
    6 posts
    Member since:
    Jul 2012

    Posted 27 Jul 2012 Link to this post

    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.
  5. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 01 Aug 2012 Link to this post

    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.
  6. Mojeeb
    Mojeeb avatar
    6 posts
    Member since:
    Jul 2012

    Posted 03 Aug 2012 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017