Beispiel #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void uxGridDigitalAsset_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "Page")
     {
     }
     else
     {
         if (e.CommandName == "Delete")
         {
             ZNode.Libraries.Admin.ProductAdmin productAdmin = new ProductAdmin();
             bool Status = productAdmin.DeleteDigitalAsset(int.Parse(e.CommandArgument.ToString()));
             if (Status)
             {
                 BindDigitalAssets();
             }
         }
     }
 }