Hi Im trying to redirect with post data. The following code raises the error : Microsoft JScript runtime error: Object doesn't support this property or method
public void postWithRedirect()
{
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Write("<html><head></head>");
HttpContext.Current.Response.Write(string.Format("<body onload=\"document.forms[0].Submit()\">", _formName));
HttpContext.Current.Response.Write(string.Format("<form id=\"form1\" name=\"{0}\" method=\"{1}\" action=\"{2}\" />", _formName, _requestMethod.ToLower(), _url));
for (int i = 0; i < _postParameters.Keys.Count; i++)
{
System.Web.HttpContext.Current.Response.Write(string.Format("<input name=\"{0}\" type=\"hidden\" valu ...
Go to the complete details ...