SetActiveNetwork() public method

public SetActiveNetwork ( System.Int64 subject, string relationshiptype, bool settoexists ) : void
subject System.Int64
relationshiptype string
settoexists bool
return void
        protected void chkRelationshipTypes_OnCheckedChanged(object sender, EventArgs e)
        {
            CheckBox cb = (CheckBox)sender;

            Utilities.DataIO data = new Profiles.Framework.Utilities.DataIO();
            data.SetActiveNetwork(Convert.ToInt64(HttpContext.Current.Request.QueryString["subject"]), this.FindRelationshipType(cb.Text).Value, cb.Checked);
            this.DrawProfilesModule();
        }
Ejemplo n.º 2
0
        protected void chkRelationshipTypes_OnCheckedChanged(object sender, EventArgs e)
        {
            CheckBox cb = (CheckBox)sender;

            Utilities.DataIO data = new Profiles.Framework.Utilities.DataIO();
            data.SetActiveNetwork(Convert.ToInt64(HttpContext.Current.Request.QueryString["subject"]), this.FindRelationshipType(cb.Text).Value, cb.Checked);
            this.DrawProfilesModule();
        }
        protected void ibRemove_OnClick(object sender, EventArgs e)
        {
            ImageButton remove = (ImageButton)sender;

            Framework.Utilities.DataIO data = new Profiles.Framework.Utilities.DataIO();

            data.SetActiveNetwork(Convert.ToInt64(remove.CommandArgument), remove.CommandName, false);

            this.DrawProfilesModule();
        }
Ejemplo n.º 4
0
        protected void ibRemove_OnClick(object sender, EventArgs e)
        {
            ImageButton remove = (ImageButton)sender;

            Framework.Utilities.DataIO data = new Profiles.Framework.Utilities.DataIO();

            data.SetActiveNetwork(Convert.ToInt64(remove.CommandArgument), remove.CommandName, false);

            this.DrawProfilesModule();
        }