Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Q: datagrid onmouseover css issue

Reply
Thread Tools

Q: datagrid onmouseover css issue

 
 
=?Utf-8?B?c3RlZW1qZQ==?=
Guest
Posts: n/a
 
      08-02-2005
Hallo friends,

I am wondering how to influence the presentation of induvidual cells in a
grid row.

At present I have added :

"e.Item.Attributes.Add("onmouseover", "this.className='TreeMouseOver';")"

on the itemDataBound, but I need to change an icon in a specific cell of the
same row at the same time. I guess my question is two fold.

1. how do I reference the control in the cell, as .Net generates "internal"
Id's, so using

"this.getElementById('ID').className='MyStyleR ef'" were ID should be the id
of the control just won't cut it. As the ID is determined by .Net at runtime.

2. is there a smarter way to do this.

thanks in advance.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
css - onmouseover Jan C. Faerber HTML 24 10-25-2009 09:53 PM
Datagrid onmouseover problems steemje ASP .Net Web Controls 0 08-02-2005 07:40 PM
OnMouseOver for a DataGrid control =?Utf-8?B?QXZpIFNoaWxvbg==?= ASP .Net 5 07-12-2004 03:53 AM
ASP.NET ImageButton and OnMouseOver Jay ASP .Net 2 09-30-2003 01:31 PM
How to change onmouseover and onmouseout dynamically Tor Inge Rislaa ASP .Net 3 08-06-2003 04:43 PM



Advertisments