/// <summary> /// Gets the string to use to redirect the current response to ChangeActivity page. /// </summary> /// <returns></returns> private string GetRedirectLocation() { string url = ResHelper.Format("./ChangeActivity.aspx?{0}={1}&{2}={3}&{4}={5}", FramesetQueryParameter.View, FramesetUtil.GetString(Session.View), FramesetQueryParameter.AttemptId, FramesetUtil.GetStringInvariant(Session.AttemptId.GetKey()), FramesetQueryParameter.ActivityId, FramesetUtil.GetStringInvariant(Session.CurrentActivityId)); UrlString urlStr = new UrlString(url); return(urlStr.ToAscii()); }
/// <summary> /// Gets the string to use to redirect the current response to ChangeActivity page. /// </summary> /// <returns></returns> private string GetRedirectLocation() { string url = ResHelper.Format( "./ChangeActivity.aspx?{0}={1}&{2}={3}&{4}={5}", FramesetQueryParameter.View, FramesetUtil.GetString(this.Session.View), FramesetQueryParameter.AttemptId, FramesetUtil.GetStringInvariant(this.Session.AttemptId.GetKey()), FramesetQueryParameter.ActivityId, FramesetUtil.GetStringInvariant(this.Session.CurrentActivityId)); UrlString urlStr = new UrlString(url); return urlStr.ToAscii(); }