For some unknown reason, Visual Studio adds
Style="position: relative"
to some controls in my document layout web form/.aspx file. Why? Can it be stopped?
In mmWebDataHelper.GetErrorMessageHtml(ImmWebBindingBase control, string style), on line 719:
Left = Int32.Parse( mmUtils.ExtractString(style,"left:","px") );
mmUtils.ExtractString(style,"left:","px") returns "", and I get the error:
System.FormatException was unhandled by user code
Message="Input string was not in a correct format."
Source="mscorlib"
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Int32.Parse(String s)
at OakLeaf.MM.Main.Web.UI.mmWebDataHelper.GetErrorMessageHtml(ImmWebBindingBase control, String style)
If the style parameter doesn't have "left", or "top", maybe this method can assume document layout? Thanks!