My form is not able to load,getting the error-
Code:The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).For the alternative,I searched the NetCode:var _HiddenLicenseRate = document.getElementById('<%= HiddenLicenseRate.ClientID %>');
Code:function GetDGHLicenseFees() { alert('GetDGHLicenseFees'); var _HiddenLicenseRate = document.getElementById('<# HiddenLicenseRate.ClientID %>'); alert(_TxtDGH_Acreage); }Code:protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { TxtDGH_Acreage.Attributes.Add("onKeyUp", "GetDGHLicenseFees();"); } }
If I used the above code,Now my form is able to load atleats,but when the procedure GetDGHLicenseFees is called,then in _TxtDGH_Acreage is null.
Wat to do?? I m unabel to find the solution & nt getting y the error is coming???




Reply With Quote