Hi,
I have a collapsible grid and I need to do animation for that. The grid has rows and when I click on rows a fade-in and fade-out has to happen.
Similar to this http://api.jquery.com/slideToggle/#slideToggle-options - Refer first example. Attached is the grid to be animated.
Loading
Vignesh KumarPosted Aug 19, 2013, 9:46 AM
Prasenjit DeyPosted Aug 19, 2013, 8:24 AM
$("#div").fadeIn();
$("#div").fadeIn("slow");
$("#div").fadeIn(3000);
div.style.display = "inline";
img.src = "minus.gif";
} else {
div.style.display = "none";
correct javascript and jquery problem
Vignesh KumarPosted Aug 19, 2013, 8:07 AM
I have lot of pages with this functionality. If I am going to change then probably its going to be very tedious on expand/collapse. So trying to figure out how to achieve animation functionality with changing the code behind. Can you suggest on this!
Iftikar HussainPosted Aug 19, 2013, 6:58 AM
Regards,
Iftikar
Vignesh KumarPosted Aug 19, 2013, 6:56 AM
Iftikar HussainPosted Aug 19, 2013, 6:10 AM
Try to implement expand-collapse using javascript instead of codebehind.
Regards,
Iftikar
Vignesh KumarPosted Aug 19, 2013, 6:05 AM
Prasenjit DeyPosted Aug 19, 2013, 5:42 AM
http://www.aspdotnet-suresh.com/2012/05/gridview-with-in-gridview-or-nested.html
study that link and add slide up and slide down function in jquery code with your operation div