c# - Action for form tag not rendering correctly in IE10 -
we have older website (written in c#.net 2.0) uses master page (site.master). has form until point has worked on browsers. however, in ie10, when hit submit, resource not found error message. when did view page source on form, saw form tag being rendered such:
<form name="aspnetform" method="post" action="/web/web/maillist.aspx" id="aspnetform">
in other browsers, correctly renders as:
<form name="aspnetform" method="post" action="web/maillist.aspx" id="aspnetform">
i'm @ loss explain why duplicating folder name. has else dealt issue?
thanks
eta: have little more information. seems due compatibility mode in ie10. in our company, have defaulted "on". if mess little button in upper-right corner, can submit. need find way override this.
i have run in past , found adding leading /
action prevent duplication seeing.
your other option force ie out of compatibility mode using following in <head>
tag.
<meta http-equiv="x-ua-compatible" content="ie=edge" />
however, "edge" mode not encouraged in production use: (from msdn)
it recommended web developers restrict use of edge mode test pages , other non-production uses because of possible unexpected results of rendering page content in future versions of windows internet explorer.
Comments
Post a Comment