## ASP.NET Fix handling of InputAttributes and LabelAttributes for WebForms CheckBox control ### Version Introduced 4.8 ### Change Description For applications that target .NET Framework 4.7.2 and earlier versions, and that are programmatically added to a WebForms control are lost after postback. For applications that target .NET Framework 4.8 or later versions, they are preserved after postback. ### Recommended Action For the correct behavior for restoring attributes on postback, set the `targetFrameworkVersion` to 4.8 or higher. For example: ```xml ``` Setting it lower, or not at all, preserves the old incorrect behavior. ### Affected APIs * `T:System.Web.UI.WebControls.CheckBox` ### Category ASP.NET