<asp:UpdatePanel..>
構造内で を動作させるのに問題があり、その<table>.. <tr> </tr>
理由がわかりません。UpdatePanel がコメント アウトされている場合はすべて正常に動作しますが、UpdatePanel のコメントを外すと、<tr> </tr>
タグの内容が Visual Studio 2010 に表示されません。この内容は、Web ページを実行すると表示されますが、UpdatePanel は表示されません。仕事。このプロジェクトの他の Web ページにはこの問題はありませんが、ここでも>s<div>
の代わりに sを使用しています。<table
もう1つ。の私のマスターページにあります。これが私のスクリプトです:
<asp:UpdatePanel ID="W9UpdatePanel" runat="server" UpdateMode="Always">
<ContentTemplate>
<tr>
<td colspan="6">
<div class="branchSetupSectionTitle">W-9 Information:</div>
</td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="btnDownloadW9Pdf" runat="server"
Text="Download W-9" onclick="btnDownloadW9Pdf_Click" AutoPostBack="True" />
<%--<asp:RegularExpressionValidator ID="RegularExpressionValidator24"
runat="server" ControlToValidate="txtFirstPaymentAmount" Display="Dynamic"
ErrorMessage="The dollar amount you entered is in the wrong format."
ForeColor="Red" ValidationExpression="^\d+(\.\d\d)?$">*</asp:RegularExpressionValidator>--%>
<asp:CheckBox ID="chkW9FormSubmitted" runat="server" AutoPostBack="True"
oncheckedchanged="chkW9FormSubmitted_CheckedChanged"
Text=" I have submitted this W-9 Form" />
</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</ContentTemplate>
</asp:UpdatePanel>
</tr>
ボタンとチェックボックスの両方に対してイベントが発生しますが、ページ全体が更新されます。ご協力いただきありがとうございます。