* ClientScriptManager.cs: WriteHiddenFields doesn't add the id
attribute to generated input element in the 1.1 profile. Fixes bug
#508167. Patch from Hubert FONGARNAND
<informatique.internet@fiducial.fr>, thanks!
svn path=/trunk/mcs/; revision=135134
+2009-06-01 Marek Habersack <mhabersack@novell.com>
+
+ * ClientScriptManager.cs: WriteHiddenFields doesn't add the id
+ attribute to generated input element in the 1.1 profile. Fixes bug
+ #508167. Patch from Hubert FONGARNAND
+ <informatique.internet@fiducial.fr>, thanks!
+
2009-05-29 Marek Habersack <mhabersack@novell.com>
* StateBag.cs: made SetDirty (bool) available on 1.1 as
#endif
foreach (string key in hiddenFields.Keys) {
string value = hiddenFields [key] as string;
+#if NET_2_0
writer.WriteLine ("<input type=\"hidden\" name=\"{0}\" id=\"{0}\" value=\"{1}\" />", key, HttpUtility.HtmlAttributeEncode (value));
+#else
+ writer.WriteLine ("<input type=\"hidden\" name=\"{0}\" value=\"{1}\" />", key, HttpUtility.HtmlAttributeEncode (value));
+#endif
}
#if NET_2_0
writer.RenderEndTag (); // DIV