protected void Page_Load(object sender, EventArgs e)
 {
     presenter = new AssignedItemsPresenter(this, new WebSessionProvider());
     if (!IsPostBack)
     {
         Session["PreviousPageUrl"] = null;
         Session.Remove("DocCaseFilter");
         presenter.Initialize();
     }
     //LoadDocCaseList();
 }
Exemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            presenter = new AssignedItemsPresenter(this, new WebSessionProvider());
            if (!IsPostBack)
            {
                string ticket = new RSSDAO().GetTicketforUser((Guid)Membership.GetUser().ProviderUserKey, 1);

                rssLink.Attributes["href"] = string.Format("rss/oczekujaceDokumenty.aspx?ticket={0}", ticket);
                Session.Remove("taskFilter");
                Session.Remove("taskFilter2");
                Session.Remove("idDokumentu");
                Session.Remove("idSprawy");
                Session["entryPoint"] = "OZ";
                Session.Remove("DocumentSearchCriteria");
                //presenter.Initialize();

                Session["taskFilter2"] = "doPracownika=1 and typ <> 'Sprawa'";
                AwaitingTasksBind();
            }
        }