// gridview 删除事件
        public void GridView1_RowDeleting(object sender, DevExpress.Web.Data.ASPxDataDeletingEventArgs e)
        {
            var i  = e.Keys[LessonGridview.KeyFieldName];
            var bb = i;

            LessonGridview.DataBind();
        }
Ejemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Response.Write("<script>window.document.getElementById('hide_lesson_id').value=window.parent.document.getElementById('hide_lesson_id').value; alert(window.parent.document.getElementById('hide_lesson_id').value);" +
                    "</script>");
     courseId = Convert.ToInt32(hide_lesson_id.Value);
     allUser  = findAllUser(courseId);
     //hide_lesson_id.Value = courseId.ToString();
     LessonGridview.DataBind();
 }
 // 传递node 的值
 protected void click_node(object sender, CallbackEventArgsBase e)
 {
     hide_type_id.Value = e.Parameter;
     // 刷新gridview 没有写
     LessonGridview.DataBind();
 }