protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack && !IsCallback)
     {
         PivotGridField fieldProductName = ASPxPivotGridOld.Fields["fieldProductName"];
         ASPxPivotGridOld.BeginUpdate();
         try {
             fieldProductName.FilterValues.Clear();
             fieldProductName.FilterValues.Add("Chai");
             fieldProductName.FilterValues.Add("Chang");
             fieldProductName.FilterValues.Add("Chartreuse verte");
             fieldProductName.FilterValues.Add("Aniseed Syrup");
             fieldProductName.FilterValues.Add("Genen Shouyu");
             fieldProductName.FilterValues.Add("Gula Malacca");
             fieldProductName.FilterValues.FilterType = DevExpress.XtraPivotGrid.PivotFilterType.Included;
         } finally {
             ASPxPivotGridOld.EndUpdate();
         }
     }
 }
 protected void SaveLayout_Click(object sender, EventArgs e)
 {
     Session["Layout"] = ASPxPivotGridOld.SaveLayoutToString();
 }