Tag Info

New answers tagged

0

Alex, You should set the control as follow: MyCustomField.ItemFieldValue = "1"; MyCustomField.Field.DefaultValue = "1"; Where 1 is for true, and 0 is for false


2

you can do Response.Write, or you can use asp:Literal. var ltlCnt = new LiteralControl(); string divStart = @"<div>"; ltlCnt.Text += divStart; string divEnd = @"</div>"; ltlCnt.Text += divEnd; this.[divOnPage].Controls.Add(ltlCnt);



Top 50 recent answers are included