Skip to content

Instantly share code, notes, and snippets.

@tucaz
Created March 2, 2010 23:13
Show Gist options
  • Save tucaz/320088 to your computer and use it in GitHub Desktop.
Save tucaz/320088 to your computer and use it in GitHub Desktop.
var div = new Div("indent")
.Add(new CheckBox("checkbox hascc", "chkHasCC").Value("true"))
if (isEdit)
{
div.First<CheckBox>().Checked();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment