Hi,
I have a grid and I need to do a simple animation for the below grid.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GridAnimate.aspx.cs" Inherits="GridANIMATE.WebForm1" %>
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>title>
head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSourceA">
<Columns>
<asp:BoundField DataField="PersonID" HeaderText="PersonID"
SortExpression="PersonID" />
<asp:BoundField DataField="LastName" HeaderText="LastName"
SortExpression="LastName" />
<asp:BoundField DataField="FirstName" HeaderText="FirstName"
SortExpression="FirstName" />
<asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
<asp:BoundField DataField="Office" HeaderText="Office"
SortExpression="Office" />
Columns>
asp:GridView>
<asp:SqlDataSource ID="SqlDataSourceA" runat="server"
ConnectionString="<%$ ConnectionStrings:AdventureWorks2008ConnectionString %>"
SelectCommand="SELECT [PersonID], [LastName], [FirstName], [City], [Office] FROM [Persons]">
asp:SqlDataSource>
div>
form>
body>
html>
Loading
Iftikar HussainPosted Jun 27, 2013, 8:38 AM
You can use jquery fade in and fade out. Please refer below link
http://www.w3schools.com/jquery/jquery_fade.asp
http://viralpatel.net/blogs/fadein-fadeout-fade-out-effect-in-html-text-div-using-jquery/
Let me know if you need more information
Regards,
Iftikar
Vignesh KumarPosted Jun 27, 2013, 5:34 AM
The requirement is like when I click on the grid a simple animation should appear
Vignesh KumarPosted Jun 27, 2013, 5:27 AM
The animation should be like, assume I have n number of grids and when I click on a grid an animation like fade in or out should happen.And also slide animation for grid is just fine...
Thamilselvan JagadeesanPosted Jun 27, 2013, 3:51 AM
Below link will help you how to change the gridview row color on mouse over and mouse out.
http://www.dotnetgallery.com/lab/resource61-Gridview-row-color-change-on-mouse-over-and-mouse-out.aspx
Regards
Thamil.
Iftikar HussainPosted Jun 27, 2013, 3:09 AM
What kind of animation you want? Give me more details
Regards,
Iftikar