TextArea가 포함 된 부분 뷰가 있습니다. 내 기본보기 페이지에서이 음행 뷰를 렌더링 할 때 텍스트 영역이 비활성화되어 있지만 회색으로 표시되지 않으므로 입력 한 내용을 허용하지 않습니다. ASP.NET MVC 2.0을 사용한 부분 뷰 렌더링
//---Here are the code segement from my partial view---
<div id="AddComment" style="display:none">
<fieldset>
<legend>Add Comment</legend>
<p><label> Comment for:</label>- <select id="Station"></select></p>
**<%=Html.TextArea("UserComment", new { rows = 5, cols = 65})%>**** (this text area is the problem)
<p><input type="button" id="addComment" onclick="SaveComment()" value="Save" /></p>
</fieldset>
</div>
//-----end of code segment -----------------------
사전에
감사를 도와주세요.
텍스트 영역을 사용하지 않도록 설정하는 자바 스크립트가 있습니까? – Jimmy
no. Javscript 없음. – Syed
"display : none;" 설정하면 전혀 나타나지 않아야합니다. 텍스트 영역이 사용 중지되었다고 어떻게 알 수 있습니까? –