RadTreeView save expanded state

35 posts, 0 answers
  1. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 24 Sep 2014 Link to this post

    Hi Richard,

    I would suggest that you try the following approach:
    • Enable the menu selection:
      <telerik:RadMenu runat="server" EnableSelection="true" ID="RadMenu1">
    • In the cookie store the item's text or value.
    • Use menu client api to find and select the item you want:
      function restoreSelectedItem() {
          //...
          var menu = $find('RadMenu1');
          var item = menu.findItemByText("Home");
          if (item != null) {
              item.select();
          }
      }

    I hope this helps.

    Regards,
    Hristo Valyavicharski
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  2. Hana
    Hana avatar
    3 posts
    Member since:
    Apr 2016

    Posted 27 Apr in reply to Rama Link to this post

    Hi

    I have project use radtreeview to checkbox node and then save in SQL server as database but not working.

    Please help me

    see attachment.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Hana
    Hana avatar
    3 posts
    Member since:
    Apr 2016

    Posted 27 Apr in reply to Rama Link to this post

    Hi

    I have project to select from radtreeview and save in database, but the save button not working to save in sql server

    I have role table, operation table and roleoperation table after check box from treeview and click save button in roleoperation table

    but save button can not save from treeview.

    see some image.

  5. Hana
    Hana avatar
    3 posts
    Member since:
    Apr 2016

    Posted 27 Apr Link to this post

    Hi Dear all,
    Please help me I am tired to search and not get the solution.
    I have project to select from radtreeview and save in database, but the save button not working to save in sql server
    I have role table, operation table and roleoperation table after check box from treeview and click save button in roleoperation table
    but save button can not save from treeview.
    or can contact by email: hana_alamri@yahoo.com
    see some image.
  6. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 28 Apr Link to this post

    Hi Hana,

    Please open new support ticket and attach sample project.

    Thanks.

    Regards,
    Hristo Valyavicharski
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017