public DSTDContext(Server server, string requestHeader, Action<Page, Guid> g, Action<Guid, Dictionary<string, object>, Dictionary<string, object>> o, Page.GetApplication p) { OnGrabSession += g; myServer = server; OnSetSession += o; DSTDQuery query = new DSTDQuery(getURL(requestHeader)); XmlDocument doc = getXML(requestHeader); Request = new DSTDRequest(this,query, doc,p); Request.Start(); }
public void TransferToPage(string Page) { DSTDQuery q = new DSTDQuery(Page); DSTDRequest r = new DSTDRequest(this.Context, q, null, getApplication); r.CurrentPage.FullRender = false; r.CurrentPage.CurrentGUID = this.CurrentPage.CurrentGUID; r.CurrentPage.IsPostBack = false; r.Start(); r.CurrentPage.PanelToUpdate = "theBody"; CurrentPage = r.CurrentPage; }