diff --git a/components/macroRenderings/yesNo.cs b/components/macroRenderings/yesNo.cs
index e2b4ad3b98..b4cf50931a 100644
--- a/components/macroRenderings/yesNo.cs
+++ b/components/macroRenderings/yesNo.cs
@@ -38,30 +38,17 @@ namespace umbraco.macroRenderings
protected override void OnInit(EventArgs e)
{
+ if (_value != null)
+ {
+ if (_value == "1")
+ this.Checked = true;
+ else
+ this.Checked = false;
+ }
+
this.Text = "Yes";
base.OnInit (e);
}
-
- ///
- /// Render this control to the output parameter specified.
- ///
- /// The HTML writer to write out to
- protected override void Render(HtmlTextWriter output)
- {
- if (_value != null)
- {
- if (_value == "1")
- {
- this.Checked = true;
- }
- else
- {
- this.Checked = false;
- }
- }
-
- base.Render(output);
- }
}
}