internal override void ProcessMainAttributes (IDictionary atts)
{
autoEventWireup = GetBool (atts, "AutoEventWireup", autoEventWireup);
enableViewState = GetBool (atts, "EnableViewState", enableViewState);
string value = GetString (atts, "CompilationMode", compilationMode.ToString ());
if (!String.IsNullOrEmpty (value)) {
try {
compilationMode = (CompilationMode) Enum.Parse (typeof (CompilationMode), value, true);
} catch (Exception ex) {
ThrowParseException ("Invalid value of the CompilationMode attribute.", ex);
}
}
atts.Remove ("TargetSchema"); // Ignored
#if NET_4_0
value = GetString (atts, "ClientIDMode", null);
if (!String.IsNullOrEmpty (value)) {
try {
clientIDMode = (ClientIDMode) Enum.Parse (typeof (ClientIDMode), value, true);
} catch (Exception ex) {
ThrowParseException ("Invalid value of the ClientIDMode attribute.", ex);
}
}
#endif
base.ProcessMainAttributes (atts);
}