GibbsUSA.net Blogs
Tuesday, February 07, 2012
Logon Blogs Home GibbsUSA.net Home
Personal blog for C#- Real problems- Real solutions!
<asp:CheckBox id=chkBInfo runat=server checked=true/>
<input id="ctl00_ContentPlaceHolder1_chkBInfo" type="checkbox" name="ctl00$ContentPlaceHolder1$chkBInfo" checked="checked" />
function theForm_onSubmit(){ if (document.forms(0).<%=chkBInfo.ClientID%>.checked==false) { alert('Please select a Message Type...'); return false; } }
// add the stylesheet.. HtmlHead myHeader = (HtmlHead)this.Page.Header; if (theHeader != null) { HtmlLink myCSS = new HtmlLink(); myCSS.Attributes.Add("href", "admin/td_codes.css"); myCSS.Attributes.Add("rel", "stylesheet"); myCSS.Attributes.Add("type", "text/css"); theHeader.Controls.Add(myCSS); }
CLR v2.0.50727.3625
Please see the site Terms And Conditions and the site Privacy Statement.This entire web site (and the software contents therein) is Copyright © Chris Gibbs 2000-2012. Any reproduction or copying is expressly forbidden without the prior consent of Chris Gibbs. For more information, please contact the site WebMaster (WebMaster@GibbsUSA.net).