adding attributes

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Hello all.

Why doesnt this work
e.Cell.Attributes.Add("onmouseover", "this.style.foreColor='Red'")

but this does

e.Cell.Attributes.Add("onmouseover", "this.style.backgroundColor='Red'")

Please Help

Mark
 
these are case sensitive....make sure that
"backgroundColor" is a valid call...isnt it "bgColor" ? or
"background-color" or something like that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top