AjaxToolKit和Jquery [英] AjaxToolKit And Jquery

查看:73
本文介绍了AjaxToolKit和Jquery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i想要修复我的gridview的标题,我使用jquery但是当我使用ajaxtoolkit的控制时我有这个错误



控件集合无法修改,因为控件包含代码块(即<%...%>)。



这是我的链接uplade相同的文件PLZ帮助我



https:// www。 mediafire.com/folder/8g8bqza2swiee/GridView [ ^ ]

解决方案

试试这个..



 


document )。ready( function (){

' #GridView1')。可滚动({
ScrollHeight: 500
});
});





并启用clientidmode静态



 <   asp:gridview     id   =  GridView1     runat   = < span class =code-keyword> server    clientidmode   = 静态 >  <   / asp:gridview  >  


hi,
i want to fix header of my gridview and i have use jquery but when i use control of ajaxtoolkit i have this error

The Controls collection can not be modified because the control contains code blocks (ie ie <% ...% > ) .

this is link wich i uplade same files plz help me

https://www.mediafire.com/folder/8g8bqza2swiee/GridView[^]

解决方案

try this..


(document).ready(function () {


('#GridView1').Scrollable({ ScrollHeight: 500 }); });



and enable the clientidmode to static

<asp:gridview id="GridView1" runat="server" clientidmode="Static"></asp:gridview>


这篇关于AjaxToolKit和Jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆