Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
        }
 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);
 }
Esempio n. 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);
     }
 }
Esempio n. 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);
 }
Esempio n. 14
0
 protected void grid_RowDeleted(object sender, Grid.GridActionEventArgs e)
 {
     string fileName = e.ID;
     File.Delete(Server.MapPath("~/" + fileName));
 }
Esempio n. 15
0
 protected void grid_Action(object sender, Grid.GridActionEventArgs e)
 {
 }
Esempio n. 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();
        }
Esempio n. 17
0
 protected void grid_CellEdited(object sender, Grid.GridEditEventArgs e)
 {
     Language.Instance.ChangeValue(e.ID, null, e.NewValue.ToString());
 }