0
私はdotnet 2.0 Webアプリケーションを持っています。更新パネル以外のボタンを無効にする方法は?
そして、私の更新パネル外のボタンがあります...
GridViewコントロールを持っているpanel..i更新インサイド...グリッドを並べ替えている間、私は、更新パネル外のボタンを無効にする必要があります。
私を助けてください。
<table>
<tr>
<td>
<UpdatePanel>
<gridview />
</UpdatePanel>
</td>
</tr>
<tr>
<td>
<Button />
</td>
</tr>
<table>
EDIT:
私は機能の並べ替え、サーバー側で以下のコードを試してみました - しかし、あなたはあなたのソートボタンのonclickイベントで無効に機能を追加することができScriptManager.RegisterStartupScript(this.Page, this.GetType(), "",
"<script>document.getElementById('" + ((Button)DualGridTableRow.FindControl(string.Concat(WebConstants.PriorityText, WebConstants.UpText))).ClientID + "').style.enabled ='False';</script>"
, true);