0
<script src="Style/FreezeGV/ScrollableGridPlugin_ASP.NetAJAX_2.0.js" type="text/javascript"></script>
<script type = "text/javascript">
$(document).ready(function() {
$('#<%=gvWebMaster.ClientID %>').Scrollable({
ScrollHeight: 550
//Width: 950
//,IsInUpdatePanel: true // This parameter must be set to true when the GridView is inside an ASP.Net AJAX UpdatePanel.
});
});
</script>
나는 gridview가 있고 잘 작동하는 스크롤 가능한 jquery가 있습니다. updatepanel 아래에 gridview를 배치 했으므로 selectedindexchanged가 발생할 때마다 스크롤 가능한 jquery가 작동하지 않습니다.jQuery 스크롤 막대가 C# asp.net의 업데이트 패널에서 실행되지 않습니다.
다음 기사를 검토했지만 이해할 수는 없습니다. Link1, Link2 & Link3. 그냥 테스트했지만 작동하지 않았습니다.
<script src="Style/FreezeGV/ScrollableGridPlugin_ASP.NetAJAX_2.0.js" type="text/javascript"></script>
<script type = "text/javascript">
$(document).ready(function() {
$('#<%=gvWebMaster.ClientID %>').Scrollable({
ScrollHeight: 550
//Width: 950
//,IsInUpdatePanel: true // This parameter must be set to true when the GridView is inside an ASP.Net AJAX UpdatePanel.
});
});
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(function() {
$('#<%=gvWebMaster.ClientID %>').Scrollable({
ScrollHeight: 550
});
</script>
누구든지 나를 도와 줄 수있는 코딩.
콘솔에서 오류가 발생 했습니까? – Webruster
아무런 오류도받지 못했습니다. – Shenbagavalli
@shenbagavali '$ (document) .ready (function() { function pageLoad() { $ ('# <% = gvWebMaster.ClientID %> ')와 같은 코드를로드하려고하지 마십시오. ({ ScrollHeight 550 // 폭 : 950 // IsInUpdatePanel는 다음의 GridView는 ASP.Net AJAX UpdatePanel 내부 때 참 //이 파라미터가 참으로 설정되어야 한다.}) }를 }); ' – Webruster