Example #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        App_MarketingPartner_AdvocateSalesManager objmaster = (App_MarketingPartner_AdvocateSalesManager)this.Master;

        Title = "Advocate Manager Dashboard";
        objmaster.settitle("Advocate Manager Dashboard");
        objmaster.SetBreadCrumbRoot = "<a href=\"/App/MarketingPartner/AdvocateSalesManager/DashBoard.aspx\">DashBoard</a> ";
        objmaster.hideucsearch();
        if (!IsPostBack)
        {
            SetAdvocateDetails(string.Empty, string.Empty);
            ibtnEAll.ImageUrl = "~/App/Images/MarketingPartner/All-tab-active_mp.gif";
        }
    }
Example #2
0
    /// <summary>
    /// post back of page is checked.all the active SecurityQuestion from database are loaded into the memory
    /// and array consisting client ids of the elements is created..
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void Page_Load(object sender, EventArgs e)
    {
        Page.Title = "Manage Team";

        App_MarketingPartner_AdvocateSalesManager obj = (App_MarketingPartner_AdvocateSalesManager)Master;


        obj.settitle("Manage Team");
        obj.SetBreadCrumbRoot = "<a href=\"/App/MarketingPartner/AdvocateSalesManager/DashBoard.aspx\">DashBoard</a> ";
        obj.hideucsearch();

        intAdvocateSalesManagerId = IoC.Resolve <ISessionContext>().UserSession.CurrentOrganizationRole.OrganizationRoleUserId;

        if (IsPostBack)
        {
            return;
        }

        ViewState["SortDir"] = SortDirection.Ascending;
        getTeamForAdvocateSalesManager();
    }