public InformationObject GetUnAuthorizeInformation() { InformationObject obj = new InformationObject(); obj.CssName = "Information"; obj.Message = "我们没有接收到您对我们网站的淘宝网操作授权,或者授权码已经过期。"; obj.AddLink("点击这里获取淘宝授权", "~/Authorizes/UnAuthorize.aspx?ReturnUrl=" + Server.UrlEncode(Request.Url.AbsoluteUri)); string a = "<img src='" + GetRootURI() + "/Images/Icos/contacts.gif' title='什么是淘宝网授权码' />"; obj.AddLink(a, "~/Authorizes/UnLogin.aspx"); return(obj); }
public InformationObject GetUnLoginInformation() { InformationObject obj = new InformationObject(); obj.CssName = "Information"; obj.Message = "您目前没有登录系统,或者登录已经过期。"; obj.AddLink("点击这里登录系统", "~/Authorizes/UnLogin.aspx?ReturnUrl=" + Server.UrlEncode(Request.Url.AbsoluteUri)); return(obj); }
protected void Page_Load(object sender, EventArgs e) { //QueryResult resultPage = Context.Handler as QueryResult; //if (resultPage != null) //{ // Response.Write(resultPage.DataSource_Shop.Title); //} List <InformationObject> list = new List <InformationObject>(); InformationObject obj = new InformationObject(); obj.Message = "您尚未登录,不能执行整店导入的操作。"; obj.CssName = "Information"; obj.AddLink("<span>登录帐号</span>", "~/Login.aspx"); list.Add(obj); ucInformationBox_Tip.SetInformationList(list); }
public InformationObject GetUnLoginInformation() { InformationObject obj = new InformationObject(); obj.CssName = "Information"; obj.Message = "您目前没有登录系统,或者登录已经过期。"; obj.AddLink("点击这里登录系统", "~/Authorizes/UnLogin.aspx?ReturnUrl=" + Server.UrlEncode(Request.Url.AbsoluteUri)); return obj; }
public InformationObject GetUnAuthorizeInformation() { InformationObject obj = new InformationObject(); obj.CssName = "Information"; obj.Message = "我们没有接收到您对我们网站的淘宝网操作授权,或者授权码已经过期。"; obj.AddLink("点击这里获取淘宝授权", "~/Authorizes/UnAuthorize.aspx?ReturnUrl=" + Server.UrlEncode(Request.Url.AbsoluteUri)); string a = "<img src='" + GetRootURI() + "/Images/Icos/contacts.gif' title='什么是淘宝网授权码' />"; obj.AddLink(a, "~/Authorizes/UnLogin.aspx"); return obj; }