aspx ページに入力要素があります。
<input id="txtAllocAmt" type="text" class="txtAllocAmt" tabindex="2" size="10" name="Text1"
runat="server" disabled="disabled" onfocus="javascript:SetOldAllocAmt(this.id);"
onblur="ValidateAllocAmt(this.id);" />
問題は、何らかの理由で、以下に示すようにコードが実行されているときに、「onfocus」と「onblur」の両方に対する JavaScript 呼び出しが表示されないことです。
<input onblur="" onfocus="" id="lvLienAllocations_ctrl0_ctl00_txtAllocAmt" class="txtAllocAmt" tabIndex="2" name="lvLienAllocations$ctrl0$ctl00$txtAllocAmt" size="10" type="text">
何らかの理由で「onblur」と「onfocus」が空の文字列に設定されています。
asp.netコードジェネレーターがこれらのjavascript呼び出しを生成するのを妨げているのは何ですか?