Пример #1
0
 protected void ItemCommand(object sender, GridCommandEventArgs e)
 {
     if (e.CommandName == "Search")
     {
         var goodsTextbox = e.Item.FindControl("TBox_GoodsName") as RadTextBox;
         if (goodsTextbox != null)
         {
             SearchGoodsName = goodsTextbox.Text.Trim();
         }
         RG_NoCompareList.Rebind();
     }
 }
Пример #2
0
 protected void TvGoodsClassNodeClick(object sender, RadTreeNodeEventArgs e)
 {
     //GoodsName = null;
     if (!string.IsNullOrEmpty(e.Node.Value))
     {
         GoodsClassId = new Guid(e.Node.Value);
         RG_NoCompareList.Rebind();
     }
     else
     {
         GoodsClassId = Guid.Empty;
     }
 }