This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
hi, joe
When new a page with Chinese name(e.g 聊天室), its url default is Chinese name.
when add a forum module to this page, then add a new forum in the forum module, error occurs.
ForumEdit.aspx:
private void Page_Load(object sender, EventArgs e) { ........
if (Request.UrlReferrer != null) { ViewState["UrlReferrer"] = Request.UrlReferrer.ToString(); //Request.UrlReferrer becomes unrecognized codes. }
...
}
above code, Request.UrlReferrer becomes unrecognized codes,
I think maybe this is Asp.net's problem. not mojoportal.
thanks!
Hi,
Can you try commenting out the code that is storing and using the url in viewstate, and change the redirect code to this:
WebUtils.SetupRedirect(this, SiteUtils.GetCurrentPageUrl());
Then let me know if that fixes it or not?
Thanks,
Joe
Hi, Joe
when change ViewState["UrlReferrer"] = Request.UrlReferrer.ToString();
to
ViewState["UrlReferrer"] = SiteUtils.GetCurrentPageUrl();
then it works.
Thanks!