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?
 
Back
Top