protected void AlphabetRepeater_ItemCommand(object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e)
 {
     if ((e.CommandArgument.ToString().Length == 1))
     {
         SearchDGName.Text = (e.CommandArgument.ToString() + "*");
     }
     else
     {
         SearchDGName.Text = String.Empty;
     }
     // CLEAR OUT OTHER CRITERIA
     SearchDGFileName.Text = string.Empty;
     DigitalGoodGrid.DataBind();
 }
 protected void DigitalGoodGrid_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "Copy")
     {
         int         dgid        = AlwaysConvert.ToInt(e.CommandArgument);
         DigitalGood digitalGood = DigitalGoodDataSource.Load(dgid);
         DigitalGood copy        = digitalGood.Copy();
         if (copy != null)
         {
             String newName = "Copy of " + copy.Name;
             if (newName.Length > 100)
             {
                 newName = newName.Substring(0, 97) + "...";
             }
             copy.Name = newName;
             copy.Save();
         }
         DigitalGoodGrid.DataBind();
     }
 }