Пример #1
0
 protected void radGridDevice_ItemCommand(object sender, GridCommandEventArgs e)
 {
     if (e.CommandName == "ShowSAbonent")
     {
         GridDataItem dataItem  = e.Item as GridDataItem;
         string       itemValue = dataItem["OrderID"].Text;
         AlternAbonDet1.OrderID = Utilities.ConvertToInt(itemValue);
         AlternAbonDet1.Bind();
     }
 }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         if (Request["id"] != null)
         {
             AlternAbonDet1.OrderID = Utilities.ConvertToInt(Request["id"]);
             AlternAbonDet1.Bind();
         }
     }
 }