예제 #1
0
 protected void grid_Action(object sender, Grid.GridActionEventArgs e)
 {
     Node node = new Node();
     node["UserID"].Value = e.ID;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "EditUser",
         node);
 }
예제 #2
0
 protected void grd_Action(object sender, Grid.GridActionEventArgs e)
 {
     Node node = new Node();
     node["AppName"].Value = e.ID;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "InstalledApps-ViewDetailsOfApp",
         node);
 }
예제 #3
0
 protected void grid_Action(object sender, Grid.GridActionEventArgs e)
 {
     Node node = new Node();
     node["ID"].Value = e.ID;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "OpenHistoryItem",
         node);
 }
예제 #4
0
 protected void grid_RowDeleted(object sender, Grid.GridActionEventArgs e)
 {
     Node node = new Node();
     node["ID"].Value = e.ID;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "DeleteADGroup2RoleMappin",
         node);
 }
예제 #5
0
 protected void grid_Action(object sender, Grid.GridActionEventArgs e)
 {
     Node node = new Node();
     node["Username"].Value = e.ID;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "InitiateNewChat",
         node);
 }
 protected void grid_CellEdited(object sender, Grid.GridEditEventArgs e)
 {
     Node node = new Node();
     node["ID"].Value = e.ID;
     node["URL"].Value = e.NewValue.ToString();
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "EditRSSItemURL",
         node);
 }
예제 #7
0
 protected void grid_CellEdited(object sender, Grid.GridEditEventArgs e)
 {
     Node node = new Node();
     node["ID"].Value = e.ID;
     node[e.Key].Value = e.NewValue;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "ChangeADGroupToRoleMapping",
         node);
 }
예제 #8
0
        protected void grid_Deleted(object sender, Grid.GridActionEventArgs e)
        {
            Node node = new Node();
            node["ID"].Value = e.ID;

            ActiveEvents.Instance.RaiseActiveEvent(
                this,
                "DeleteFavourite",
                node);
        }
예제 #9
0
 protected void grid_RowDeleted(object sender, Grid.GridActionEventArgs e)
 {
     Node node = new Node();
     node["RowID"].Value = e.ID;
     node["WhiteboardID"].Value = WhiteboardID;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "DeleteWhiteboardRow",
         node);
 }
예제 #10
0
 protected void grid_CellEdited(object sender, Grid.GridEditEventArgs e)
 {
     Node node = new Node();
     node["WhiteboardID"].Value = WhiteboardID;
     node["RowID"].Value = e.ID;
     node["ColumnName"].Value = e.Key;
     node["Value"].Value = e.NewValue;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         "WhiteboardRowValueEdited",
         node);
 }
 protected void grid_RowDeleted(object sender, Grid.GridActionEventArgs e)
 {
     Node init = new Node();
     init["TabCaption"].Value = Language.Instance["AreYouSure", null, "Are you sure?"];
     init["Width"].Value = 350;
     init["Height"].Value = 130;
     init["ModuleSettings"]["Text"].Value =
         Language.Instance["ReallyDeleteWhiteBoard", null,
         @"Do you really want to delete the selected whiteboard?"];
     init["ModuleSettings"]["EventToRaiseOnOK"].Value = "WhiteBoardConfirmedDeleted";
     init["ModuleSettings"]["Params"]["Name"].Value = "WhiteboardID";
     init["ModuleSettings"]["Params"]["Value"].Value = e.ID;
     ActiveEvents.Instance.RaiseLoadControl(
         "CommonModules.MessageBox",
         "dynPopup",
         init);
 }
 protected void grid_Action(object sender, Grid.GridActionEventArgs e)
 {
     if (e.ColumnName == "View")
     {
         Node node = new Node();
         node["ID"].Value = e.ID;
         ActiveEvents.Instance.RaiseActiveEvent(
             this,
             "WhiteboardSelectedForViewing",
             node);
     }
     else if (e.ColumnName == "Edit")
     {
         Node node = new Node();
         node["ID"].Value = e.ID;
         ActiveEvents.Instance.RaiseActiveEvent(
             this,
             "WhiteboardSelectedForEditing",
             node);
     }
 }
예제 #13
0
 protected void grd_Action(object sender, Grid.GridActionEventArgs e)
 {
     string fileName = e.ID;
     Node node = new Node();
     node["File"].Value = fileName;
     ActiveEvents.Instance.RaiseActiveEvent(
         this,
         EventToRaise,
         node);
 }
예제 #14
0
 protected void grid_RowDeleted(object sender, Grid.GridActionEventArgs e)
 {
     string fileName = e.ID;
     File.Delete(Server.MapPath("~/" + fileName));
 }
예제 #15
0
 protected void grid_Action(object sender, Grid.GridActionEventArgs e)
 {
 }
예제 #16
0
        protected void grid_RowDeleted(object sender, Grid.GridActionEventArgs e)
        {
            Node node = new Node();
            node["WhiteboardID"].Value = WhiteboardID;
            node["ColumnID"].Value = e.ID;
            ActiveEvents.Instance.RaiseActiveEvent(
                this,
                "DeleteWhiteboardColumn",
                node);

            // Rebinding grid...
            DataBindGrid(node);
            grd.Rebind();
        }
예제 #17
0
 protected void grid_CellEdited(object sender, Grid.GridEditEventArgs e)
 {
     Language.Instance.ChangeValue(e.ID, null, e.NewValue.ToString());
 }