mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* ImageMap.cs: added the SupportsEventValidation attribute to the class. Validate the event in RaisePostBackEvent (). Register for event validation in Render (). * DropDownList.cs, ListBox.cs: validate the event in LoadPostData (). * TextBox.cs: validate the event in LoadPostData (). Register for event validation in AddAttributesToRender (). * HiddenField.cs: validate the event in RaisePostDataChangedEvent. Register for event validation in Render (). * RadioButton.cs: validate the event in LoadPostData (). Register for event validation in InternalAddAttributesToRender. * CheckBox.cs, RadioButtonList.cs: validate the event in RaisePostDataChangedEvent. * Menu.cs: added the SupportsEventValidation attribute to the class. Validate the event in RaisePostBackEvent (). Register for event validation in GetClientEvent (). * DetailsView.cs, GridView.cs: validate the event in RaisePostBackEvent (). Register for validation in GetCallbackScript () and in OnPreRender * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs, ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent (). 2008-10-17 Marek Habersack <[email protected]> * Control.cs: added the ValidateEvent internal method, used by classes descending from Control to automatically trigger event validation. * Page.cs: removed the CheckForValidationSupport method. It moved to Control.cs RaisePostBackEvent no longer validates the events, this functionality has been moved to Control.ValidateEvent. 2008-10-17 Marek Habersack <[email protected]> * HtmlInputHidden.cs: validate the event in LoadPostDataInternal. * HtmlInputButton.cs: validate the event in RaisePostBackEventInternal (). Register for event validation in RenderAttributes () * HtmlTextArea.cs: validate the event in RaisePostBackDataChangedEvent (). * HtmlButton.cs: validate the event in RaisePostBackEvent (). Register for event validation in RenderAttributes () * HtmlAnchor.cs: validate the event in RaisePostBackEvent (). Register for event validation in RenderAttributes (). * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in LoadPostData. * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs, HtmlInputPassword.cs: validate the event in RaisePostDataChangedEvent (). 2008-10-17 Marek Habersack <[email protected]> * MenuAdapterTest.cs: work around event validation failure in the test environment. 2008-10-17 Marek Habersack <[email protected]> * PageTest.cs: use a custom version of HtmlInputHidden control to work around the new event validation code which doesn't work in this instance. svn path=/trunk/mcs/; revision=116231