0
난 dotnet 2.0 웹 응용 프로그램이 있습니다.내 업데이트 패널 외부의 버튼을 비활성화하는 방법은 무엇입니까?
그리고 내 업데이트 패널 외부에 버튼이 ...
그리드를 정렬하는 동안 ...있는 gridview를 panel..i내부 업데이트, 난 업데이트 패널 외부 버튼을 비활성화해야 .
도와주세요.
<table>
<tr>
<td>
<UpdatePanel>
<gridview />
</UpdatePanel>
</td>
</tr>
<tr>
<td>
<Button />
</td>
</tr>
<table>
편집 :
내가 기능을 정렬 서버 측에 아래의 코드를 시도 -하지만 당신은 정렬 버튼의 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);