Save the treeview in postback

3 posts, 0 answers
  1. Vitantonio
    Vitantonio avatar
    24 posts
    Member since:
    Mar 2012

    Posted 20 Apr 2012 Link to this post

    Hi,
    How I can save e reload the treeview when i do a postback ??
    Thanks
  2. Vitantonio
    Vitantonio avatar
    24 posts
    Member since:
    Mar 2012

    Posted 27 Apr 2012 Link to this post

    Hi, 
    I save the outerHTML in BeginRequestHandler and EndRequestHandler.
    This I the code

    function BeginRequestHandler(sender, args) {
        treeOfficesState = $("#treeOffices")[0].outerHTML;
    }

    function EndRequestHandler(sender, args) {
    $("#treeOffices")[0].outerHTML = treeOfficesState;
            treeOffices = $("#treeOffices").kendoTreeView({
            dragAndDrop: false,
            select: onSelectTreeOffice,
            expand: onExpandTreeOffice
            }).data("kendoTreeView");
    }

    This function in IE9, Chrome, FF, Safani, no in IE7 not function expand and select.

    Help please.
    Thanks



  3. Vitantonio
    Vitantonio avatar
    24 posts
    Member since:
    Mar 2012

    Posted 04 May 2012 Link to this post

    Help!!
Back to Top