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, 213 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 Portal For IT Products Sector!
  • Create a confidential Career Profile and Resume/C.V. online
  • Get advice for planning their career and for marketing of experience and skills
  • Maximize awareness of and access to the best career opportunities
Viewers also viewed
The ever increasing incidents of scams, political disorders, culture and linguistic divide, and...
 
1216 referals 21 arguments, 227 views
   Why is body image so important : It is the way we feel about ourselves. It is important to...
 
1114 referals 9 votes, 182 views
Over half-a-dozen ministers, including at least four Cabinet Ministers, are set to be dropped...
 
1930 referals 17 arguments, 217 views
more...  
Unanswered Questions (76)
India is passing through an era of newly found awareness in people resulting in  allegations of...
 
4 referals 0 answers, 0 views
WHAT ALL THAT CAN BE DONE WITH MSDOTNET ,SPECIFICALLY NAME THE TECHNOLGIES INCLUDED IN IT FOR...
 
374 referals 3 answers, 55 views
Software robots - basically, just complicated computer programmes - already make important...
 
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...