RemotePost.Post should let user post, if javascript is disabled.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 Jahre weitere
the following is the code of RemotePost.Post

var context = HttpContext.Current;
            context.Response.Clear();
            context.Response.Write("<html><head>");
            context.Response.Write(string.Format("</head><body onload=\"document.{0}.submit()\">", FormName));
            context.Response.Write(string.Format("<form name=\"{0}\" method=\"{1}\" action=\"{2}\" >", FormName, Method, Url));
            for (int i = 0; i < inputValues.Keys.Count; i++)
                context.Response.Write(string.Format("<input name=\"{0}\" type=\"hidden\" value=\"{1}\">", HttpUtility.HtmlEncode(inputValues.Keys[i]), HttpUtility.HtmlEncode(inputValues[inputValues.Keys[i]])));
            context.Response.Write("</form>");
            context.Response.Write("</body></html>");
            context.Response.End();


I guess a visible submit control with some informational text should be written to response so that if javascript is not enabled, the user can submit himself.
12 Jahre weitere
Does the nop team use an issue tracker system publicly available?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.