Exemple #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);
        }
        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();
        }
        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);
        }
 //============操作方法===========
 #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();
 }
Exemple #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);
 }
 /// <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();
 }
 /// <summary>
 /// 更新右侧用户列表
 /// 创建  毛枫  2015-4-17
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
 {
     BindGrid2();
 }
 protected void grdData_RowClick(object sender, FineUI.GridRowClickEventArgs e)
 {
     LlenarLista();
 }
Exemple #12
0
 //点击添加人员事件
 protected void Grid1_RowClick(object sender, FineUI.GridRowClickEventArgs e)
 {
     btn1.Enabled = true;
 }
Exemple #13
0
 protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
 {
     Grid2_databind();
 }
 protected void Grid2_RowClick(object sender, GridRowClickEventArgs e)
 {
     if (!Convert.ToBoolean(Grid2.DataKeys[Grid2.SelectedRowIndex][1]))
         trUser.Hidden = true;
     else
         trUser.Hidden = false;
 }
Exemple #15
0
 protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
 {
     Grid2_databind();
     //Alert.Show(values[0].ToString(), "提示", Alert.DefaultMessageBoxIcon);
 }
 protected void Grid1_RowClick(object sender, FineUI.GridRowClickEventArgs e)
 {
     object[] keys = Grid1.DataKeys[e.RowIndex];
     SetSimpleForm(keys);
 }
Exemple #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);
 }