• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 830
  • Last Modified:

Check Box not posting back/firing on check changed event

Hello,

I am having trouble with a checkbox that I have in the source code below.  It is called "ActiveFlag"...It should trigger a post back and a call to the ActiveFlagOnCheckChanged event and also trigger my update panel to reload.  However, none of the above seems to be occurring.  Can anybody please take a look at my source and tell me any reasoning why this check box might not be working properly?

Thanks a TON



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"><title>
	Program Form
</title><link href="styles.css" rel="stylesheet" type="text/css" media="screen" />
           
        <style type="text/css">
            #Button1
            {
                text-align: left;
                width: 99px;
            }
            .style4241
            {
                text-align: left;
                font-weight: bold;
                text-decoration: underline;
                font-size: large;
                width: 270px;
            }
            .style4243
            {
                text-align: right;
               
                }
            .style4246
            {
                
            }
            #Button3
            {
                text-align: center;
                width: 99px;
            }
            #Button4
            {
                text-align: center;
                width: 99px;
            }
            #Button5
            {
                width: 99px;
            }
            .bottom
            {
                text-align: center;
            }
            #Button6
            {
                width: 99px;
            }
            .style43333283
            {
               
                width: 70px;
            }
            .style43333286
            {
                height: 15px;
                font-size: medium;
                text-align: left;
                font-weight: 700;
                color: #CC0000;
            }
            #Text2
            {
                width: 312px;
            }
            #Text1
            {
                width: 322px;
            }
            #Text3
            {
                width: 76px;
            }
            #Text4
            {
                width: 157px;
            }
            #Text5
            {
                width: 309px;
            }
            #Text6
            {
                width: 94px;
            }
            #Select1
            {
                width: 60px;
                height: 16px;
            }
            #Text6
            {
                width: 150px;
            }
            .styled43333284
            {
                text-align: right;
            }
            .styledd43333284
            {
                text-align: right;
            }
            #Text7
            {
                width: 100px;
            }
            #Text9
            {
                width: 60px;
            }
            #Text11
            {
                width: 60px;
            }
            #Text8
            {
                width: 130px;
            }
            #Text10
            {
                width: 129px;
            }
            #Text12
            {
                width: 321px;
            }
            #Text13
            {
                width: 216px;
            }
            #Text14
            {
                width: 203px;
            }
            #Text15
            {
                width: 77px;
            }
            #Text16
            {
                width: 145px;
            }
            .styledd43333285
            {
                text-align: right;
            }
            #Text17
            {
                width: 93px;
            }
            #Text18
            {
                width: 200px;
            }
            #Button7
            {
                width: 99px;
            }
            #Button8
            {
                width: 99px;
            }
            #Button9
            {
                width: 99px;
            }
            #Button9
            {
                width: 99px;
            }
            #Text18
            {
                width: 220px;
            }
            #Button10
            {
                width: 99px;
                height: 22px;
                font-weight: 700;
            }
            #Text19
            {
                width: 303px;
            }
            #Text20
            {
                width: 300px;
            }
            #Text21
            {
                width: 160px;
            }
            #Text18
            {
                width: 130px;
            }
            #Text19
            {
                width: 60px;
            }
            #Text20
            {
                width: 321px;
            }
            #Text21
            {
                width: 308px;
            }
            #Text22
            {
                width: 178px;
            }
            #Text23
            {
                width: 178px;
            }
            .style43333292
            {
                font-size: 10pt;
                text-align: right;
            }
            .style43333297
            {
                font-size: 10pt;
                text-align: left;
                width: 418px;
                }
            #Text24
            {
                width: 309px;
            }
            #Text24
            {
                width: 312px;
            }
            #Button11
            {
                width: 99px;
            }
            #Text25
            {
                width: 130px;
            }
            #Button11
            {
                width: 99px;
            }
            #Text54
            {
                width: 309px;
            }
            #Text54
            {
                width: 312px;
            }
            #Text55
            {
                width: 309px;
            }
            #Text55
            {
                width: 312px;
            }
            #Text56
            {
                width: 303px;
            }
            #Text56
            {
                width: 60px;
            }
            #Text57
            {
                width: 303px;
            }
            #Text57
            {
                width: 60px;
            }
            #Text58
            {
                width: 303px;
            }
            #Text58
            {
                width: 60px;
            }
            .plus
            {
                text-align: right;
            }
            #Text41
            {
                width: 168px;
            }
            #Text59
            {
                width: 168px;
            }
            #Text60
            {
                width: 168px;
            }
            #Text61
            {
                width: 168px;
            }
            #Text62
            {
                width: 309px;
            }
            #Text62
            {
                width: 312px;
            }
            #Text63
            {
                width: 168px;
            }
            #Text64
            {
                width: 168px;
            }
            #Text65
            {
                width: 168px;
            }
            #Text66
            {
                width: 168px;
            }
            .style43333313
            {
                text-align: left;
                height: 29px;
                width: 258px;
            }
            .style43333315
            {
                text-align: left;
                height: 29px;
                }
            #frame1
            {
                width: 322px;
                height: 215px;
                margin-top: 5px;
            }
            .ModalWindow
            {
                margin-top: 74px;
            }
            .style43333316
            {
            }
            .style43333317
            {
                font-weight: bold;
                font-size: 12pt;
                height: 3px;
                width: 81px;
            }
            .style43333318
            {
                font-weight: bold;
                font-size: 12pt;
                height: 3px;
                }
            .style43333324
            {
                font-weight: bold;
                font-size: 12pt;
                height: 3px;
                width: 273px;
            }
            .styled43333298
            {
                text-align: center;
            }
            .style43333327
            {
                text-align: center;
                width: 148px;
            }
            .style43333330
            {
                text-align: left;
                height: 4px;
                width: 258px;
            }
            .style43333332
            {
                text-align: right;
                height: 4px;
                width: 134px;
                font-size: 10pt;
            }
            .style43333333
            {
                height: 4px;
            }
                   .GridViewHeader
  {
    font-weight:bold;
    position:fixed; 
    top:expression(this.parentNode.parentNode.parentNode.scrollTop-1);
    left:expression(this.parentNode.parentNode.parentNode.scrollTop-1);
  }
            .style43333336
            {
                font-size: 10pt;
                text-align: right;
                width: 148px;
                height: 2px;
            }
            .style43333337
            {
                text-align: left;
                height: 2px;
                width: 258px;
            }
            .style43333338
            {
                text-align: right;
                height: 2px;
                width: 134px;
                font-size: 10pt;
            }
            .style43333339
            {
                height: 2px;
            }
            .style43333340
            {
                height: 31px;
            }
            .style43333341
            {
                width: 258px;
            }
            .style43333346
            {
                font-size: 10pt;
                text-align: right;
                width: 148px;
                height: 4px;
            }
            .style43333347
            {
                font-size: 10pt;
                text-align: right;
                width: 148px;
            }
            .style43333348
            {
                width: 408px;
            }
            .style43333349
            {
                text-align: right;
                height: 29px;
                width: 134px;
                font-size: 10pt;
            }
            </style>
        
     <script type='text/javascript'>
         function showPop() {
             $find('btnRecordInfo_ModalPopupExtender').hide();

         }
       
          </script>   
 
<link href="/WebResource.axd?d=DvUJ4zWp6lAsCajzpwhB34OUDkMaiy8EuT9vaCtIAc7qpFJB-ft3gUUZAYc9wHF_bnnyF-DVDIetnCF6blRpK3NhVhOir-IIgB-TdiBjhg1np6Nnd3avFdIRIWYtOH94_Uz3-dS7CvWQthdjCCcI0TM__tc1&amp;t=634697679645690071" type="text/css" rel="stylesheet" /></head>
<body id="Body" scroll="auto">

    <form name="form1" method="post" action="program_form.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTE2MTI3ODcxNQ9kFgICAw9kFgICHw9kFgJmD2QWHAIDDw8WAh4EVGV4dAUBMWRkAgUPEA8WCB4MRGF0YVNvdXJjZUlEBRBQcm9ncmFtTGVuZ3RoU1FMHg1EYXRhVGV4dEZpZWxkBRFsb3ZfZGlzcGxheV92YWx1ZR4ORGF0YVZhbHVlRmllbGQFEWxvdl9kaXNwbGF5X3ZhbHVlHgtfIURhdGFCb3VuZGdkEBUECExlbmd0aCBBCExlbmd0aCBCCExlbmd0aCBDCExlbmd0aCBEFQQITGVuZ3RoIEEITGVuZ3RoIEIITGVuZ3RoIEMITGVuZ3RoIEQUKwMEZ2dnZ2RkAgcPEA8WCB8BBQhQcm9ncmFtcx8CBRFsb3ZfZGlzcGxheV92YWx1ZR8DBRFsb3ZfZGlzcGxheV92YWx1ZR8EZ2QQFQQKTGlsIEthcmF0ZQlMaWwgRGFuY2UITGlsIFlvZ2EKTGlsIFNwb3J0cxUECkxpbCBLYXJhdGUJTGlsIERhbmNlCExpbCBZb2dhCkxpbCBTcG9ydHMUKwMEZ2dnZ2RkAgkPEA8WCB8BBRRQcm9ncmFtTGVuZ3RoVHlwZVNRTB8CBRFsb3ZfZGlzcGxheV92YWx1ZR8DBRFsb3ZfZGlzcGxheV92YWx1ZR8EZ2QQFQQNTGVuZ3RoIFR5cGUgQQ1MZW5ndGggVHlwZSBCDUxlbmd0aCBUeXBlIEMNTGVuZ3RoIFR5cGUgRBUEDUxlbmd0aCBUeXBlIEENTGVuZ3RoIFR5cGUgQg1MZW5ndGggVHlwZSBDDUxlbmd0aCBUeXBlIEQUKwMEZ2dnZ2RkAgsPEA8WCB8BBQdTY2hvb2xzHwIFBG5hbWUfAwUGUk9XX0lEHwRnZBAVBB5TY2hvb2wgTmFtZSAxICAgICAgICAgICAgICAgICAeU2Nob29sIE5hbWUgMiAgICAgICAgICAgICAgICAgHlRlc3QgQWRkcmVzcyAyICAgICAgICAgICAgICAgIB5zYWRmICAgICAgICAgICAgICAgICAgICAgICAgICAVBAExAjIwAjIxAjI0FCsDBGdnZ2dkZAINDxAPFggfAQUSUHJvZ3JhbUR1cmF0aW9uU1FMHwIFEWxvdl9kaXNwbGF5X3ZhbHVlHwMFEWxvdl9kaXNwbGF5X3ZhbHVlHwRnZBAVBQpEdXJhdGlvbiBBCkR1cmF0aW9uIEEKRHVyYXRpb24gQgpEdXJhdGlvbiBDCkR1cmF0aW9uIEQVBQpEdXJhdGlvbiBBCkR1cmF0aW9uIEEKRHVyYXRpb24gQgpEdXJhdGlvbiBDCkR1cmF0aW9uIEQUKwMFZ2dnZ2dkZAIPDxAPFggfAQUHUGF5VHlwZR8CBRFsb3ZfZGlzcGxheV92YWx1ZR8DBRFsb3ZfZGlzcGxheV92YWx1ZR8EZ2QQFQIKSW5kaXZpZHVhbAVHcm91cBUCCkluZGl2aWR1YWwFR3JvdXAUKwMCZ2dkZAIRDw8WAh8ABQExZGQCEw8QDxYIHwEFEkludm9pY2VSb2xsdXBMZXZlbB8CBRFsb3ZfZGlzcGxheV92YWx1ZR8DBRFsb3ZfZGlzcGxheV92YWx1ZR8EZ2QQFQMHQ29tcGFueQZQYXJlbnQHU3R1ZGVudBUDB0NvbXBhbnkGUGFyZW50B1N0dWRlbnQUKwMDZ2dnZGQCFQ8PFgIfAAUBMWRkAhkPDxYCHwAFATNkZAIdDw8WAh8ABQEzZGQCIw8PFgQeDEF1dG9Qb3N0QmFja2gfAAUKMTIvMzEvMjA5OWRkAjcPPCsADQBkGAIFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBQpBY3RpdmVGbGFnBQdTdWJMaXN0D2dkB8L25i6Pc9WYeHygkZ6aK3kO2EY=" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="/WebResource.axd?d=JE1-husME6DIDzy6zx064c6W2yFmqzkS23B28mvA4ydfXsQFm9pMB__y95Znsh7IVvG6v0lVGioMYymMVzgKF8ks8iM1&amp;t=634604245351482412" type="text/javascript"></script>


<script src="/ScriptResource.axd?d=typWxnsbtqRRhiMpLCOFr8DSWVeXW6bLBQK6b3JRu1ShsDmqaFDwo_QeJCaoxsd7b7Xf0lWBqCdPG51uHcOfsn2EPOsEYYtiP-eoFX3ogJ4UQBQMCVeRcYNamhCSUgcmN6NJy6c5jtyKJKNKVtDiLR2jU459RyDQGiiL0MQu5JhrZM8B0&amp;t=ffffffffb868b5f4" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>

<script src="/ScriptResource.axd?d=Bo7ppWYFVc25YI2fAKcHpoz4k3galCe_kZ4j03xRFbQnSVCU-XFiDYOwC-o36O2qZ0Wndx0R1l6uFJI6HtWzOwzVJ7SAVN6ILNGM60BfxDCPmmNZT5jxkf7BJQElWxcFgKBjnHS9KBEQT2NcTJi3PQ7U4_pG44e7hTWyCkefNS7ouU0N0&amp;t=ffffffffb868b5f4" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=aduY8DFaNvASqtZEWq5gpxnJKtzrJB4Mdq1kEffNXxgUwVR_b2PonHzBeGrnB3Q_ld4r_gzVAZHVcDbOvOmRFPNZdO3AH2xewOm_lsAYDvFQr6GgNnM1JHTNbfa1Kryp9g3TfrfAwjK56VOUVVNcisP3oHw1&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=9b5Uoj8MUzN3fTI2_asnJs0pqcHDb8SpK1CJ6ZDDOw-TNTTsFdqQ3cdtrD8bjLK1Yup3nfmRvLffhWJDcHVSzBCg_a7UpbatF5bWMseX_MAAj_mVxZ5hbWtIp2nN3RMSjpM8oD9U-Qp_Vh29CRnnUReyqWk1&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=T1i-ZR0DxlKne6THdDEXLv-Z1JHWCFxVQzqsRoG2QUj9L6BpTtl9o72ub7zZtoDQUQiMr8xAPUf8Y3RefxieiyHeg26SruaZm_9noWHFpPP8lmKkD3M1Lugvob0DiZKOO_4BE72WHUM-2I3lzxfo3koVJkJdgBXe3dlHwdDhBgK7eJAU0&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=_LvUVbY8N8dR-ffwRx3vwHnV-udwN1KhfcWN39R8wtgK_gCEpKovkvnfDIx22utJLjyUn2Npmc-T_KXBCHaVjEUw6b0luwr_gxE_uBgeDzk-bRjr0t-zst8g_gn9uybHck30E11dYwPGyC8ik0sDQXOs9uY1&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=lrzoCRH2keG93PnwQn6WJRtHJS6OATFNXRajwq73j11XIm2iaVwhFQBbT9yoAYKGMWkCVspuK59pdUvUBVZ5yrO4Zxu6jdtp3dlFtZZUdDSL-BsSl5GKNOADr1brAKImumPWtMcRWllxjMieK2ozsSKZFHw1&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=jU9iTF51i2QX49YO5KI9o74gzmzqhMUPNqjXU9Osz7dd-7lASxlD3zKjL-QK-hjXUcScnqBfEyv21twqvr2Ee7v2qAVDnI8lhmdaLr7lQ8-OM7KdrRSRE6GpJ2ZKUy6CFi_KS0-tU3x-PT0za7p66aMtlLbZzISCBcH-0IAKLZvNZQfh0&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=cI6w-swFSSwjfIz4RXnpVVJsBQjN0cUXYY4o5IkL6j2Zeq1Kz9NhycClePG03OzXwmYyGxDQYpqIIdZLSE08i1UkRyTdLDS5RrwRd96KsxpO3J6qb-1qg6EVuI7hpiIQ9Hc7BeEy5HM16dXi1D7hyO34l_hCJlf6Nj4KPaWEEkaIcyYV0&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=r8hbBFv6TRpSCsFSxBqyxm0bBHUO17pk2wWczOuASDCDvdgdt14hfyAtOhC1x79-MRzZxFADfTBDnZ0i7i0gL8SK0VAqeA3f5Y_6VTYzKz4cc3JjAC-WTTNmKbm1asSVZtWGIYga1H2gasqGUB14kVeeD4qeAycWBdhelx6xVsVBxUWX0&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=1dCFNuP-Qgg3T2_VAHqxb7GkkZABtptwNvd82kUf5S4soUwOaVb3W1-zyc-3s28oDzM_DPO-5WXtYHYiMrmYPxcI91wlkmgRi-EHdNxhJn7GFy_1ksZRXmdufqTy4m9R96iud2LVzA-D1keOlN3cHkgOLmhAUWVWaD1Suzyhv6vjqnP60&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=Lw1_y9dVi6R8M0YSAerL_04RsreBHYDNhwhuhpyzjyWFyVjCJhLdlAjcwe2kuPPhY5jW4PjlTVQTkDpAiXPx-3AyYId8Xka9Tr-sHNhAR7OEMbOoccQsQK3hHR1t8UTceBJNStSdtpeeGZ2btFyQXKZ7-AU1&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=vAt4G259Qg81tLIN3dUkX-zwaz7YButTwRXkhAfZ7hT2XUjOJE2Hm2FTqoU7YU1IkSgz00-6rM3FUGPKQ7nn7mx2fmCUyqzTWSpsBhqkdvtW34ine8-ZGZZ2wZoj1Q868tIeaU_UFuPaJ5nPOCQBaUl-EgA1&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=f4FS9MIVLs2eCoDve1oBpfpr0vJsSyeCYmg-jtUnHj7Rj2gTL609Q8k792H6kqYCcJXI6FwFMmYBwcW-9aelnuSzFYAXDsfcIGax3CAFM3va9HZVrUQ0ZSCpyhJRQ0y6WUlXnqUPpAOpYNb4bQHiFaui1eU1&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=ehklnc9-Kl7sU967v93StsHVazgfd5OCPqFY6J8pqLW2spcRbwcN4LN36DrX__JA4wxgY27xmMK41MSLe5ZwmShiVaom-6ceVO-mzcopBg7Ta6Yb67kGDPRmOnhACl1lJrbgdfpo7g3TUeJiq1idPMhk2t81&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=q72lb9Ev-O54hvtkNnpFAHLnY52QowBSF9qHd65tqx0sZFf9cLDZs-CBzTdcKsRuTqnI0tcmDqRnF0D6k_SQqWQvBJaPlD99zM3878Ew2smTC4ubfkS5nkMwZRXZSm_izINLRnne1HQdhznhefikKadqXJc1&amp;t=5f915bbd" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=j9LjM3TblUdOn-QquoQJjvFmEc6dK4n8Hcbqa8n5LZnh512c4VEQxx4DUIC0IWoRWh0UE-UH5iQ_fZ_L0uj351qysQwozw0BLstiGm3nvj5kbeOOfl5WBb8mLa8jXLWWSRZD_K7kX9PnGfuWwSrX-3VrRJY1&amp;t=5f915bbd" type="text/javascript"></script>
<div>

	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWLQKMpLrEBQKct7iSDAKpsrycDALLx9PKBQKp4bePCQKWt4DRDgKorsmeCQLku9jLDQLku8yUBgLku7CxDwLku6TaBwKH35zDBgLnuOGjDgLTyc7yAwKUz5+HBALF6ZrFCALY6ZrFCALb6ZrFCALG6ZrFCAKZhJTJDgKYhNTKDgKYhNjKDgKYhOTKDgL4l/T8DAL4l/T8DAL4l+j8DAL4l+z8DAL4l+D8DAK7+cypDQL6s/6pBgKSsLO7BgLamfy1DQKOl8OiAgLZ9+yoDAKUhtCzBgKY0qusCwL70cTOCAKE1tyyCQLRq57CDQL6z4jVBALluv3tCgKh4uXQCgLbta2tAQKWx8+MCwLn0JDpDX8BJ2qaB96bX68roqPTTN9Iaxwp" />
</div> 
    <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ScriptManager1', document.getElementById('form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tMainContent'], ['btnSave','ActiveFlag'], [], 90);
//]]>
</script>
 
    <div style="width:940px; margin: 0 auto;">
                    
        
                    
        
                    
        
                    
        
                    
        
                    
        
                    
                    <br />
                    
                    <img alt="" src="top2.png" /></div>
    <div id="border">    
    <div id="wrapper">
    
    <hr style="display:none" />

    <!-- ###################### END OF GRC MASTHEAD MENU  ###################### -->

	<!-- end #menu -->	    
    
	<!-- end #header -->
					<table align="center" style= "border: thin none #FFFFFF; width: 865px; padding-right: 2px; height: 50px;">
			<tr><td class="style43333283">
                <img alt="" src="AllPrograms_nb_vFinal.gif" 
                    style="height: 65px; width: 67px; text-align: center;" 
                    class="style43333275" /></td>
                <td class="style43333340">
                    </td>
                <td class="style4241">Program Information:                     
                    
                    </td>
                <td class="style4243">
                    &nbsp; 
                 
                     &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                   
                     </cc1:ModalPopupExtender>
                     &nbsp;<input type="submit" name="btnSave" value="Save" id="btnSave" style="color:#000066;border-color:Navy;font-family:Verdana;font-size:X-Small;font-weight:bold;height:20px;width:49px;" />
                  
                     
&nbsp;<input type="submit" name="btnRecordInfo" value="Record Info" id="btnRecordInfo" style="color:#000066;border-color:Navy;font-family:Verdana;font-size:X-Small;font-weight:bold;height:20px;width:84px;" />
                     
                     &nbsp;<input type="submit" name="btnDelete" value="Delete" onclick="return confirm('Are you sure want to delete this program?');" id="btnDelete" style="color:#000066;border-color:Navy;font-family:Verdana;font-size:X-Small;font-weight:bold;height:20px;width:50px;" />
                     
                     &nbsp;<input type="submit" name="btnList" value="List" id="btnList" style="color:#000066;border-color:Navy;font-family:Verdana;font-size:X-Small;font-weight:bold;height:20px;width:50px;" />
                     
                     &nbsp;<input type="submit" name="btnHome" value="Home" id="btnHome" style="color:#000066;border-color:Navy;font-family:Verdana;font-size:X-Small;font-weight:bold;height:20px;width:66px;" />
                     
                     </td>
                </tr>
			
			</table>
			  <div id="MainContent">
		
				<table align="center" 
                         style= "border: thin none #FFFFFF; width: 868px;  padding-right: 2px;">
			
			<tr><td class="style43333297" colspan="2">
                
                </td>
                <td class="style43333292" colspan="2">
                </td>
                </tr>
			
			<tr><td class="style43333346">
                ID:
                </td>
                <td class="style43333330">
                    <input name="ProgramID" type="text" value="1" id="ProgramID" disabled="disabled" style="width:263px;" />
                </td>
                <td class="style43333332">
                    Program Length:</td>
                <td class="style43333333">
                    <select name="ProgramLength" id="ProgramLength" style="height:22px;width:270px;">
		<option value="Length A">Length A</option>
		<option value="Length B">Length B</option>
		<option value="Length C">Length C</option>
		<option selected="selected" value="Length D">Length D</option>

	</select>
                </td>
                
                </tr>
			
			<tr><td class="style43333347">
                Name:</td>
                <td class="style43333313">
                       
                    <select name="ProgramName" id="ProgramName" style="height:22px;width:270px;">
		<option value="Lil Karate">Lil Karate</option>
		<option value="Lil Dance">Lil Dance</option>
		<option value="Lil Yoga">Lil Yoga</option>
		<option selected="selected" value="Lil Sports">Lil Sports</option>

	</select>
                </td>
                <td class="style43333349">
                    Length Type:</td>
                <td class="style43333316">
                    <select name="ProgramLengthType" id="ProgramLengthType" style="height:22px;width:270px;">
		<option value="Length Type A">Length Type A</option>
		<option value="Length Type B">Length Type B</option>
		<option value="Length Type C">Length Type C</option>
		<option selected="selected" value="Length Type D">Length Type D</option>

	</select>
                </td>
                </tr>
			
			<tr><td class="style43333347">
                School Name:</td>
                <td class="style43333313">
                    <select name="SchoolName" id="SchoolName" style="height:22px;width:270px;">
		<option selected="selected" value="1">School Name 1                 </option>
		<option value="20">School Name 2                 </option>
		<option value="21">Test Address 2                </option>
		<option value="24">sadf                          </option>

	</select>
                </td>
                <td class="style43333349">
                    Duration</td>
                <td class="style43333311">
                    <select name="ProgramDuration" id="ProgramDuration" style="height:22px;width:270px;">
		<option selected="selected" value="Duration A">Duration A</option>
		<option value="Duration A">Duration A</option>
		<option value="Duration B">Duration B</option>
		<option value="Duration C">Duration C</option>
		<option value="Duration D">Duration D</option>

	</select>
                </td>
                </tr>
			
			<tr><td class="style43333336">
                Invoice Type:</td>
                <td class="style43333337">
                    <select name="PaymentType" id="PaymentType" style="height:22px;width:270px;">
		<option selected="selected" value="Individual">Individual</option>
		<option value="Group">Group</option>

	</select>
                </td>
                <td class="style43333338">
                    Occurrence:</td>
                <td class="style43333339">
                    <input name="ProgramOccurrence" type="text" value="1" readonly="readonly" id="ProgramOccurrence" style="height:22px;width:120px;" />
                </td>
                </tr>
			
			<tr><td class="style43333347">
                Invoice Rollup Lvl:</td>
                <td class="style43333313">
                    <select name="PaymentRollupLevel" id="PaymentRollupLevel" style="height:22px;width:270px;">
		<option value="Company">Company</option>
		<option selected="selected" value="Parent">Parent</option>
		<option value="Student">Student</option>

	</select>
                </td>
                <td class="style43333349">
                    Classes:</td>
                <td class="style43333315">
                    <input name="Classes" type="text" value="1" readonly="readonly" id="Classes" style="height:22px;width:120px;" />
                </td>
                </tr>
			
			<tr><td class="style43333347">
                Price/Week: $</td>
                <td class="style43333313">
                    <input name="PricePerWeek" type="text" value="12.00" id="PricePerWeek" style="height:22px;width:120px;" />
                </td>
                <td class="style43333349">
                    Students:</td>
                <td class="style43333315">
                    <input name="Students" type="text" value="3" readonly="readonly" id="Students" style="height:22px;width:120px;" />
                </td>
                </tr>
			
			        <tr>
                        <td class="style43333347">
                            Price/Month: $</td>
                        <td class="style43333313">
                            <input name="PricePerMonth" type="text" value="48.00" id="PricePerMonth" style="height:22px;width:120px;" />
                        </td>
                        <td class="style43333349">
                            Students/Class</td>
                        <td class="style43333315">
                            <input name="StudentsPerClass" type="text" value="3" readonly="readonly" id="StudentsPerClass" style="height:22px;width:120px;" />
                        </td>
                    </tr>
			
			        <tr>
                        <td class="style43333347">
                            &nbsp;Start:</td>
                        <td class="style43333313">
                            <input name="StartDate" type="text" value="06/02/2012" id="StartDate" style="width:120px;" />
                            
                        </td>
                        <td class="style43333349">
                            &nbsp;End:</td>
                        <td class="style43333315">
                            <input name="EndDate" type="text" value="12/31/2099" readonly="readonly" id="EndDate" style="width:120px;" />
                            
                        </td>
                    </tr>
                    <tr>
                        <td class="style43333347">
                            &nbsp;</td>
                        <td class="style43333313">
                            &nbsp;</td>
                        <td class="style43333349">
                            Active :</td>
                        <td class="style43333315">
                            <input id="ActiveFlag" type="checkbox" name="ActiveFlag" checked="checked" />
                        </td>
                    </tr>
			
			<tr><td class="style43333327">
                <input type="submit" name="PreviousRecord" value="Previous" id="PreviousRecord" style="color:#000066;border-color:Navy;font-family:Verdana;font-size:X-Small;font-weight:bold;width:100px;" />
                </td>
                <td class="style43333341">
                    <input type="submit" name="NextRecord" value="Next" id="NextRecord" style="color:#000066;border-color:Navy;font-family:Verdana;font-size:X-Small;font-weight:bold;width:100px;" />
                </td>
                <td class="style43333286" colspan="2">
                    <div id="UpdateProgress1" style="display:none;">
		
                            Loading...
                        
	</div>
                    &nbsp; </td>
                </tr></table>
			<table id="GridTable" align="center" 
            
            style= "border: thin none #FFFFFF; width: 848px;  padding-right: 2px; ">
   
                <tr>
                    <td class="style43333317" style="padding: .1px; border-style: none;">
                        <span id="lblSubtype" style="text-decoration: underline">Classes:</span>
                    </td>
                    <td class="style43333324" 
                        style="padding: .1px; border-style: none;">
                        &nbsp;</td>
                    <td class="style43333348" 
                        style="padding: .1px; border-style: none; text-align: right;">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp; 
                        
                    </td>
                    <td class="style43333318" 
                        style="padding: .1px; border-style: none; text-align: right;">
                        &nbsp;&nbsp;
                        <input type="submit" name="btnAddSubtype" value="Add Class" id="btnAddSubtype" style="color:#000066;border-color:Navy;font-family:Verdana;font-size:X-Small;font-weight:bold;height:20px;width:100px;" />
                    </td>
                </tr>
   
<tr>
                <td class="style4246" id="GridViewCell"  colspan="4" style="border: thin none #000080; height: 350px;" 
                    valign="top" >
                   <div id="GridViewOverFlow" style="width:870px; height: 350px; overflow : auto;">
                    
 
           
                    <div>

	</div>                   
                    
</div>                    
                    </td>
    </tr>
   
    </table>	
    
</div>	
    
                    <div id="panOpen" class="ModalWindow" style="height:257px;width:333px;white-space:nowrap;">
	
  <IFRAME id="frame1" src="record_info.aspx" Scrolling="no" bordercolor="#000066" frameborder="yes" contenteditable="false" style="border: 1px solid #C0C0C0">

</IFRAME>

<table align="center"><tr>
    <td id="ClosePopUp" style="text-align: left" 
        class="style433333262" height="10px" valign="top"> <input ID="Button2" 
        onclick="showPop()" type="button" value="Close Popup" 
        
            style="border: thin solid #000080; font-weight: bold; color: #000080; height: 27px;" /></td></tr></table>   

</div>

	                
	<!-- end #wrapper -->
	
	</div>
	<!-- end #border -->
	</div>		
	<div style="width:940px; margin: 0 auto;"><img alt="" src="bottom2.png" /></div>
    

<script type="text/javascript">
//<![CDATA[
Sys.Application.initialize();
Sys.Application.add_init(function() {
    $create(AjaxControlToolkit.ModalPopupBehavior, {"BackgroundCssClass":"modalBackground","OnCancelScript":"reff()","PopupControlID":"panOpen","dynamicServicePath":"/program_form.aspx","id":"btnRecordInfo_ModalPopupExtender"}, null, null, $get("btnRecordInfo"));
});
Sys.Application.add_init(function() {
    $create(AjaxControlToolkit.CalendarBehavior, {"id":"StartDate_CalendarExtender"}, null, null, $get("StartDate"));
});
Sys.Application.add_init(function() {
    $create(AjaxControlToolkit.CalendarBehavior, {"id":"EndDate_CalendarExtender"}, null, null, $get("EndDate"));
});
Sys.Application.add_init(function() {
    $create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":"MainContent","displayAfter":500,"dynamicLayout":true}, null, null, $get("UpdateProgress1"));
});
//]]>
</script>
</form>
</body>
</html>

Open in new window

0
uconnfb13
Asked:
uconnfb13
1 Solution
 
Alan WarrenCommented:
Does your update panel designate the checkbox as an AsyncPostBackTrigger?


<asp:UpdatePanel ...>
    <ContentTemplate>
       <asp:checkbox ... autopostback="true" oncheckedchanged="ActiveFlag_CheckedChanged"
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="ActiveFlag"  />
    </Triggers>
</asp:UpdatePanel>

Open in new window

Alan
0
 
informaniacCommented:
Please post the aspx markup.

I'm sure you have set the AutoPostBack="true" for the Checkbox
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now