Build your professional network on facebook via our app Go to app
 
<< Prev  11 of 12 in Topic  Next >>
Topic : ASP.NET with C# Programming
  Rate : 
Posted in Community :

.Net Champions |

.Net

 
Industry : IT Products
Functional Area : Programming Languages
Activity: Question posted: 04 18 2009 07:20:57 +0000, 1 answers, 318 views, last activity 07 06 2010 20:18:08 +0000
 
Share
 
 
 
 

Hi friends,

How to change the image size whenever i hover the mouse on the images. I'm showing the images in the gridview control. The images are taken from the database. This is my code but it is not working properly.

    protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            e.Row.Cells[0].Attributes.Add("OnMouseOver","this.style.width='100px';");
            e.Row.Cells[0].Attributes.Add("onmouseout", "this.style.width='80px';");
        }
    }

 

Can anyone solve my problem?

 
  Answered by     Raji S, Business Analyst, SAP  | 04 20 2009 11:17:17 +0000
[ Delete ]
[ Edit ]
Not Rated
 
Career Site for Java Professionals
  • Create a secure career profile with us
  • Get noticed by some of best companies into Java Technologies
  • Choose to be a part of our referral program
Viewers also viewed
Your brand image makes people think in a certain way about you or your business. Having a...
 
1078 referals 8 votes, 1120 views
AS BOTH VLSI EMBEDDED ARE CHIP DESIGN LEVEL PROGRAMMING WHICH ONE IS BETTER? MEANS WHICH HAVING...
 
1 referals 9 arguments, 5188 views
Social Media is an Expense for Midsize B2B company  -          Social Media has everything to do...
 
569 referals 12 arguments, 442 views
more...  
Unanswered Questions (22)
How Indian companies going to adopt this new technology.How cloud computing application going to...
 
0 referals 0 answers, 0 views
When there is already existing your brand name with well known products, how to come up with few...
 
503 referals 1 answers, 58 views
does anyone know why the toostep is not updating ? the last updates on my home page are of 20...
 
0 referals 0 answers, 0 views
More From Author
Hi friends, I'm new to Visual C++. And I want to know the real world applications which are developed by using VC++. If you know the answer, please post your answer here or http:\\computerprogramminghelp.blogspot.com
How to change the image size when hover the mouse?
How to call a stored procedure using SQL Server 2000 and C#.NET?
more...