Пример #1
0
 protected void gridMain_ItemCreated(object sender, GridItemEventArgs e)
 {
     if (e.Item.OwnerTableView.Name == "Master")
     {
         if (e.Item is GridDataItem)
         {
             GridDataItem  item = (GridDataItem)e.Item;
             ElasticButton img  = (ElasticButton)item["btnDelete"].Controls[0];
             img.ToolTip = "Διαγραφή";
         }
     }
     else if (e.Item.OwnerTableView.Name == "FormulaDetails")
     {
         if (e.Item is GridDataItem)
         {
             GridDataItem  item = (GridDataItem)e.Item;
             ElasticButton img  = (ElasticButton)item["btnDelete2"].Controls[0];
             img.ToolTip = "Διαγραφή";
         }
     }
     else if (e.Item.OwnerTableView.Name == "CancelDetails")
     {
         if (e.Item is GridDataItem)
         {
             GridDataItem  item = (GridDataItem)e.Item;
             ElasticButton img  = (ElasticButton)item["btnDelete3"].Controls[0];
             img.ToolTip = "Διαγραφή";
         }
     }
 }
Пример #2
0
 protected void gridMain_ItemCreated(object sender, GridItemEventArgs e)
 {
     if (e.Item is GridDataItem)
     {
         GridDataItem  item = (GridDataItem)e.Item;
         ElasticButton img  = (ElasticButton)item["btnDelete"].Controls[0];
         img.ToolTip = "Διαγραφή";
     }
 }
Пример #3
0
 protected void gridMain_ItemCreated(object sender, GridItemEventArgs e)
 {
     if (e.Item.OwnerTableView.Name == "AttachedFiles")
     {
         if (e.Item is GridDataItem)
         {
             GridDataItem  item = (GridDataItem)e.Item;
             ElasticButton img  = (ElasticButton)item["btnDeleteFile"].Controls[0];
             img.ToolTip = "Διαγραφή";
         }
     }
 }