Ejemplo n.º 1
0
    protected void btnUnicast_Click(object sender, EventArgs e)
    {
        Multicast multicast = new Multicast();

        Session["isGroupUnicast"] = 1;
        lblTitle.Text             = "Unicast All The Hosts In The Selected Group?";
        gvConfirm.DataSource      = multicast.Confirm(group.ID);
        gvConfirm.DataBind();
        ClientScript.RegisterStartupScript(this.GetType(), "modalscript", "$(function() { var menuTop = document.getElementById('confirmbox'),body = document.body;classie.toggle(menuTop, 'confirm-box-outer-open'); });", true);
    }
Ejemplo n.º 2
0
 protected void btnMulticast_Click(object sender, EventArgs e)
 {
     Multicast multicast = new Multicast();
     GridViewRow gvRow = (GridViewRow)(sender as Control).Parent.Parent;
     string groupID = gvGroups.DataKeys[gvRow.RowIndex].Value.ToString();
     Session["groupID"] = groupID;
     Session["isGroupUnicast"] = 0;
     lblTitle.Text = "Multicast The Selected Group?";
     gvConfirm.DataSource = multicast.Confirm(groupID);
     gvConfirm.DataBind();
     ClientScript.RegisterStartupScript(this.GetType(), "modalscript", "$(function() { var menuTop = document.getElementById('confirmbox'),body = document.body;classie.toggle(menuTop, 'confirm-box-outer-open'); });", true);
 }
Ejemplo n.º 3
0
    protected void btnUnicast_Click(object sender, EventArgs e)
    {
        Multicast   multicast = new Multicast();
        GridViewRow gvRow     = (GridViewRow)(sender as Control).Parent.Parent;
        string      groupID   = gvGroups.DataKeys[gvRow.RowIndex].Value.ToString();

        Session["groupID"]        = groupID;
        Session["isGroupUnicast"] = 1;
        lblTitle.Text             = "Unicast All The Hosts In The Selected Group?";
        gvConfirm.DataSource      = multicast.Confirm(groupID);
        gvConfirm.DataBind();
        ClientScript.RegisterStartupScript(this.GetType(), "modalscript", "$(function() { var menuTop = document.getElementById('confirmbox'),body = document.body;classie.toggle(menuTop, 'confirm-box-outer-open'); });", true);
    }
Ejemplo n.º 4
0
 protected void btnUnicast_Click(object sender, EventArgs e)
 {
     Multicast multicast = new Multicast();
     Session["isGroupUnicast"] = 1;
     lblTitle.Text = "Unicast All The Hosts In The Selected Group?";
     gvConfirm.DataSource = multicast.Confirm(group.ID);
     gvConfirm.DataBind();
     ClientScript.RegisterStartupScript(this.GetType(), "modalscript", "$(function() { var menuTop = document.getElementById('confirmbox'),body = document.body;classie.toggle(menuTop, 'confirm-box-outer-open'); });", true);
 }