private void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { if (e.Cell.Column.Key == "Edit") { object obj = this.GetEditObject(e.Cell.Row); if (obj != null) { this.SetEditObject(obj); this.buttonHelper.PageActionStatusHandle(PageActionType.Update); } } }
private void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { if (this.gridHelper.IsClickColumn("TransactionDetail", e)) { this.Response.Redirect(this.MakeRedirectUrl("./FQueryItemDtlSP.aspx", new string[] { "itemcode", "transtype", "mocode", "factoryfrom", "warehousecodefrom", "factoryto", "warehousecodeto" }, new string[] { e.Cell.Row.Cells.FromKey("WarehouseItemCode").Text, e.Cell.Row.Cells.FromKey("TransactionTypeCode").Text, e.Cell.Row.Cells.FromKey("MOCode").Text, e.Cell.Row.Cells.FromKey("FactoryCode").Text, e.Cell.Row.Cells.FromKey("WarehouseCode").Text, e.Cell.Row.Cells.FromKey("TOFactoryCode").Text, e.Cell.Row.Cells.FromKey("TOWarehouseCode").Text })); } }
private void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { if (e.Cell.Column.Index > 0 && e.Cell.Column.Index < this.gridWebGrid.Columns.Count - 1 && e.Cell.Row.Index != this.gridWebGrid.Rows.Count - 1) { if (e.Cell.Text != null && e.Cell.Text.Trim() != string.Empty) { if (!this.IsStartupScriptRegistered("details")) { string script = @"<script language='jscript' src='../Skin/js/selectAll.js'></script> <script language='javascript'>" ; script += string.Format( @"window.showModalDialog('./{0}','',showDialog(7));", this.MakeRedirectUrl( "FRealTimeQuantityDetails.asp", new string[] { "segmentcode", "shiftday", "shiftcode", "tpcode", "tpcodedetail", "stepsequencecode", "modelcode", "Itemcode", "mocode" }, new string[] { this.drpSegmentQuery.SelectedValue, this.eMESDate1.Text, this.drpShiftQuery.SelectedValue, e.Cell.Column.Key, e.Cell.Column.HeaderText, e.Cell.Row.Cells[0].Text, e.Cell.Row.Cells.FromKey("ModelCode").Text, e.Cell.Row.Cells.FromKey("ItemCode").Text, e.Cell.Row.Cells.FromKey("MOCode").Text })); script += @"</script>"; this.RegisterClientScriptBlock("details", script); } } } }
private void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { if (e.Cell.Column.Key == "RCardList") { this.Session["FInvRCardQP_Type"] = "Receive"; this.Session["FInvRCardQP_No"] = e.Cell.Row.Cells.FromKey("ReceiveNo").Text; this.Session["FInvRCardQP_Seq"] = e.Cell.Row.Cells.FromKey("SEQ").Text; this.Session["FInvRCardQP_Status"] = this.drpStatus.SelectedValue; this.Session["FInvRCardQP_From"] = this.txtRCardFrom.Text.Trim(); this.Session["FInvRCardQP_To"] = this.txtRCardTo.Text.Trim(); this.Session["FInvRCardQP_DateFrom"] = this.dateInDateFromQuery.Text; this.Session["FInvRCardQP_DateTo"] = this.dateInDateToQuery.Text; Response.Redirect(this.MakeRedirectUrl("FInvRCardQP.aspx")); } }
private void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { if (this.gridHelper.IsClickEditColumn(e)) { object obj = this.GetEditObject(e.Cell.Row); if (obj != null) { this.SetEditObject(obj); this.buttonHelper.PageActionStatusHandle(PageActionType.Update); } } if (e.Cell.Column.Key == "detail") { Response.Redirect(this.MakeRedirectUrl("FOPBOMOperationListMP.aspx", new string[] { "itemcode", "opbomcode", "opbomversion", "routecode" }, new string[] { e.Cell.Row.Cells[1].Text, e.Cell.Row.Cells[2].Text, e.Cell.Row.Cells[7].Text, e.Cell.Row.Cells[3].Text })); } }
private void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { if (e.Cell.Column.Key == "Edit") { object obj = this.GetEditObject(e.Cell.Row); if (obj != null) { this.SetEditObject(obj); this.buttonHelper.PageActionStatusHandle(PageActionType.Update); } } else if (e.Cell.Column.Key == "MO2Order") { //Response.Redirect(this.MakeRedirectUrl("../OQC/FItem2CheckListSP.aspx",new string[] {"itemcode"},new string[] {e.Cell.Row.Cells.FromKey("ItemCode").Text.Trim()})); } else if (e.Cell.Column.Key == "OrderDetail") { Response.Redirect(this.MakeRedirectUrl("FOrderDetailMP.aspx", new string[] { "OrderNO" }, new string[] { e.Cell.Row.Cells.FromKey("OrderNO").Text.Trim() })); } }
private void gridSN_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { if (e.Cell.Column.Key.ToUpper() == "TESTDATA") { string url = this.MakeRedirectUrl( "FOQCFuncValueDataQP.aspx", new string[] { "LotNo", "LotSeq", "RCard", "RCardSeq", "BackUrl" }, new string[] { e.Cell.Row.Cells.FromKey("LotNo").Text, //this.txtLotNo.Value, e.Cell.Row.Cells.FromKey("LotSeq").Text, //this.txtLotSeq.Value, e.Cell.Row.Cells.FromKey("RCard").Text, e.Cell.Row.Cells.FromKey("RCardSeq").Text, "FOQCTestDataQP.aspx" }); this.Response.Redirect(url, true); } }
protected void txtAlerts_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { }
private void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { }
public bool IsClickColumn(string columnKey, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { return(IsClickColumn(columnKey, e.Cell)); }
public bool IsClickEditColumn(Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { return(IsClickEditColumn(e.Cell)); }
private void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { string url = "./FSetCustPro.aspx?CustCode=" + e.Cell.Row.Cells.FromKey("CGroupCode").Text.ToString(); Response.Redirect(url, true); }
// 单击Grid的CellButton调用 protected virtual void Grid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { this.Grid_ClickCell(e.Cell); }
protected void gridWebGrid_ClickCellButton(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e) { if (e.Cell.Column.Key == "Edit") { } }