protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         CommentsStorage.Set(5, "ProductName", "Comment sample");
     }
 }
    protected void ASPxPopupControl1_WindowCallback(object source, PopupWindowCallbackArgs e)
    {
        string[] parts = e.Parameter.Split(new char[] { '|' }, StringSplitOptions.RemoveEmptyEntries);
        int      key   = Convert.ToInt32(parts[1]);

        if (parts[0].Equals("APPLY"))
        {
            CommentsStorage.Set(key, parts[2], parts[3]);
        }
        else if (parts[0].Equals("DELETE"))
        {
            CommentsStorage.Delete(key, parts[2]);
        }
    }