Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WebForm warning icon error
Message
De
02/09/2007 21:36:04
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
WebForm warning icon error
Divers
Thread ID:
01251925
Message ID:
01251925
Vues:
71
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform