开发者

Jquery slide effect in ASP.NET Grid

开发者 https://www.devze.com 2022-12-08 07:33 出处:网络
I have a question is there a way I could create the collapsible effect with the开发者_开发技巧 Jquery show(), hide(), slide(). Functions and has anyone found any examples to do this?Since the gridview

I have a question is there a way I could create the collapsible effect with the开发者_开发技巧 Jquery show(), hide(), slide(). Functions and has anyone found any examples to do this?


Since the gridview is just rendered as a table in html, you should be able to use the jquery effects on that table.

if your gridview had an ID="GridView1" then the selector would be:

$('#<%= GridView1.ClientID %>')

then you could have in javascript things like:

$('#<%= GridView1.ClientID %>').slideUp();
$('#<%= GridView1.ClientID %>').slideDown();
$('#<%= GridView1.ClientID %>').show();
$('#<%= GridView1.ClientID %>').hide();
0

精彩评论

暂无评论...
验证码 换一张
取 消