Ejemplo n.º 1
0
 protected void Grid1_RowClick(object sender, FineUI.GridRowClickEventArgs e)
 {
     bindGrid2(Grid1.DataKeys[e.RowIndex][0].ToString());
     //DataTable dt = null;
     Grid3.DataSource = null;
     Grid3.DataBind();
 }
        protected void Grid3_OnRowClick(object sender, FineUI.GridRowClickEventArgs e)
        {
            Grid4.Rows.Clear();


            GridRow gr = Grid3.Rows[e.RowIndex];

            menuInfoId_ = int.Parse(gr.Values[0].ToString());

            // PositionBll.GetInstence().BandPagePowerSignPublicList(this, Grid4);


            // PositionBll.GetInstence().BandPagePowerSignList(this, Grid5, menuInfoId);

            //var list = PagePowerSignBll.GetInstence().GetList(false);

            // bll.BindGrid(Grid4, InquiryCondition(), sortList);


            //  conditionList = new List<ConditionFun.SqlqueryCondition>();
            // conditionList.Add(new ConditionFun.SqlqueryCondition(ConstraintType.Where, "1", Comparison.Equals, "1", false, false));
            //bll.BindGrid(Grid1, 0, sortList);
            // bll.BindGrid(Grid4, 0, 0, conditionList, sortList);

            PagePowerSignPublicBll.GetInstence().BandPagePowerSignPublicList(this, Grid4);
        }
Ejemplo n.º 3
0
        protected void grdCie10_RowClick(object sender, FineUI.GridRowClickEventArgs e)
        {
            int index    = e.RowIndex;
            var dataKeys = grdCie10.DataKeys[index];

            Session["Cie10Id"]    = dataKeys[0];
            Session["DiseasesId"] = dataKeys[2];
            txtDxModificado.Text  = dataKeys[1].ToString();
        }
Ejemplo n.º 4
0
        protected void grdCie10_RowClick(object sender, FineUI.GridRowClickEventArgs e)
        {
            int index    = e.RowIndex;
            var dataKeys = grdCie10.DataKeys[index];

            //Session["Cie10Id"] = dataKeys[3];
            Session["DiseasesId"]      = dataKeys[2];
            Session["v_DxFrecuenteId"] = dataKeys[3];

            //Obtener las Recomendaciones y restricciones

            txtRecomendacion1.Text = oServiceBL.ObtenerRecomendacionesPorDxFrecuente(Session["v_DxFrecuenteId"].ToString(), 1);
            txtRestriccion1.Text   = oServiceBL.ObtenerRecomendacionesPorDxFrecuente(Session["v_DxFrecuenteId"].ToString(), 2);
        }
Ejemplo n.º 5
0
 //============操作方法===========
 #region 二级菜单
 /// <summary>
 /// 行双击事件
 ///创建   毛枫   2015-4-20
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
 {
     object[] keys = Grid1.DataKeys[e.RowIndex];
     fathercode = keys[1].ToString();
     CrumbString += fathercode + ",";
     Replace();
 }
Ejemplo n.º 6
0
 /// <summary>
 /// 触发行双击事件
 /// </summary>
 /// <param name="e">事件参数</param>
 protected virtual void OnRowDoubleClick(GridRowClickEventArgs e)
 {
     EventHandler<GridRowClickEventArgs> handler = Events[_rowDoubleClickHandlerKey] as EventHandler<GridRowClickEventArgs>;
     if (handler != null)
     {
         handler(this, e);
     }
 }
 protected void userGrid_RowDoubleClick(object sender, GridRowClickEventArgs e)
 {
     btnRight_Click(null, null);
 }
 protected void rightGrid_RowDoubleClick(object sender, GridRowClickEventArgs e)
 {
     btnLeft_Click(null, null);
 }
Ejemplo n.º 9
0
 /// <summary>
 /// 行双击事件
 ///创建   毛枫   2015-4-20
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
 {
     ////设置页面权限
     //Power.SetViewPower("mod_menu");
     ////验证权限
     //if (Power.VerifyPower() == false)
     //{
     //    return;
     //}
     object[] keys = Grid1.DataKeys[e.RowIndex];
     //如果URL为空,则不是叶子节点
     if (!string.IsNullOrEmpty(keys[1].ToString())) return;
     fatherId = int.Parse(keys[0].ToString());
     CrumbString += fatherId + ",";
     Replace();
 }
Ejemplo n.º 10
0
 /// <summary>
 /// 更新右侧用户列表
 /// 创建  毛枫  2015-4-17
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
 {
     BindGrid2();
 }
Ejemplo n.º 11
0
 protected void grdData_RowClick(object sender, FineUI.GridRowClickEventArgs e)
 {
     LlenarLista();
 }
Ejemplo n.º 12
0
 //点击添加人员事件
 protected void Grid1_RowClick(object sender, FineUI.GridRowClickEventArgs e)
 {
     btn1.Enabled = true;
 }
Ejemplo n.º 13
0
 protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
 {
     Grid2_databind();
 }
Ejemplo n.º 14
0
 protected void Grid2_RowClick(object sender, GridRowClickEventArgs e)
 {
     if (!Convert.ToBoolean(Grid2.DataKeys[Grid2.SelectedRowIndex][1]))
         trUser.Hidden = true;
     else
         trUser.Hidden = false;
 }
Ejemplo n.º 15
0
 protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
 {
     Grid2_databind();
     //Alert.Show(values[0].ToString(), "提示", Alert.DefaultMessageBoxIcon);
 }
Ejemplo n.º 16
0
 protected void Grid1_RowClick(object sender, FineUI.GridRowClickEventArgs e)
 {
     object[] keys = Grid1.DataKeys[e.RowIndex];
     SetSimpleForm(keys);
 }
Ejemplo n.º 17
0
 //---------------------------------------------------
 // Grid1(角色表格)
 //---------------------------------------------------
 protected void Grid1_RowClick(object sender, FineUI.GridRowClickEventArgs e)
 {
     BindGrid2();
 }
 protected void serviceGrid_RowDoubleClick(object sender, GridRowClickEventArgs e)
 {
     if(btnModify.Enabled)
         btnModify_Click(null, null);
 }