title: DEVExpress's ASPXTreeList always returning same clientlayout
body: <p>I am using the DevExpress's aspxtreelist and am having trouble saving the clientlayout with: </p>
  
  <blockquote>
    <p>AspxTreeList.SaveClientLayout();</p>
  </blockquote>
  
  <p>I got the gridview's and pivotgrid's SaveClientLayout to work but whenever I call the SaveClientLayout for treelist, it returns the same thing.</p>
  
  <p>Code to save layout: (Tried in button click)</p>
  
  <pre><code>byte[] byte123 = tree.SaveClientLayout();
  string layoutstring = Convert.ToBase64String(tree.SaveClientLayout());
  </code></pre>
  
  <p>Layoutstring:</p>
  
  <blockquote>
    <p>AgAHAAcABwAG//8G//8G8P8CAVo=</p>
  </blockquote>
  
  <p>My treelist code:</p>
  
  <pre><code>                    &lt;dx:ASPxTreeList ID="ASPxTreeList1" runat="server" AutoGenerateColumns="False" ClientInstanceName="treeTo" DataSourceID="SqlDataSource" KeyFieldName="ID" ParentFieldName="PID" OnCustomCallback="ASPxTreeList1_CustomCallback" EnableTheming="True" Theme="Metropolis" OnClientLayout="ASPxTreeList1_ClientLayout"&gt;
                          &lt;Columns&gt;
                              &lt;dx:TreeListTextColumn FieldName="ParentID" ShowInCustomizationForm="True" VisibleIndex="2"&gt;
                              &lt;/dx:TreeListTextColumn&gt;
                              &lt;dx:TreeListTextColumn FieldName="Text" ShowInCustomizationForm="True" VisibleIndex="3"&gt;
                              &lt;/dx:TreeListTextColumn&gt;
                              &lt;dx:TreeListTextColumn FieldName="NavigateURL" ShowInCustomizationForm="True" VisibleIndex="4"&gt;
                              &lt;/dx:TreeListTextColumn&gt;
                              &lt;dx:TreeListCommandColumn VisibleIndex="1"&gt;
                                  &lt;EditButton Visible="True"&gt;
                                  &lt;/EditButton&gt;
                                  &lt;NewButton Visible="True"&gt;
                                  &lt;/NewButton&gt;
                                  &lt;DeleteButton Visible="True"&gt;
                                  &lt;/DeleteButton&gt;
                              &lt;/dx:TreeListCommandColumn&gt;
                          &lt;/Columns&gt;
                          &lt;Styles&gt;
                              &lt;Header CssClass="droppableRight"&gt;&lt;/Header&gt;
                              &lt;Node CssClass="droppableRight"&gt;&lt;/Node&gt;
                              &lt;AlternatingNode Enabled="True" CssClass="droppableRight"&gt;
                              &lt;/AlternatingNode&gt;
                          &lt;/Styles&gt;
                          &lt;SettingsBehavior AutoExpandAllNodes="True" AllowFocusedNode="True" /&gt;
                          &lt;SettingsPager AlwaysShowPager="True" Mode="ShowPager" PageSize="25"&gt;
                              &lt;AllButton Visible="True"&gt;
                              &lt;/AllButton&gt;
                          &lt;/SettingsPager&gt;
                          &lt;SettingsEditing AllowNodeDragDrop="True" /&gt;
                      &lt;/dx:ASPxTreeList&gt;
  </code></pre>
  
  <p>Why is SaveClientLayout always returning the same layout string? It works perfectly for gridview and pivotgrid</p>