Custom Attribute in TableCell

  • Thread starter Thread starter DotNet
  • Start date Start date
D

DotNet

How can I add a custom attribute to the TableCell control, like
"onMouseOver='dothis();'"?

I suppose I'd have to create a new class and inherit TableCell, but how do I
get the new class to render the custom attribute inside the tag? Any sample
code would be appreciated.

Thanks.
 
No need to inherit. Try Attributes.Add

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Now why didn't I think of that! Thanks Kevin.




Kevin Spencer said:
No need to inherit. Try Attributes.Add

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

do
 
Back
Top