0

I am making a configuration entry in web.config that will be used to set background color of cell in Infragistics WebDataGrid at runtime.

The infragistic grid only supports css to set colors, so we need to create new CSS class for that color at runtime.

Konstantin Dinev
  • 34,219
  • 14
  • 75
  • 100
Romil Kumar Jain
  • 20,239
  • 9
  • 63
  • 92
  • I am assuming that you are looking to style the cell based on certain conditions and that the color will not change dynamically. Is that the case and if so, why don't you create the style one time in a css file so that it is cached on client machines and only requested the one time. – alhalama Apr 22 '13 at 21:22
  • How is the web.config entry that you are making relevant to styling an individual cell? If you are looking to change the color based on the web.config, maybe it would be better to have multiple classes that you could use defined in your css and use the web.config to set which class you use. – alhalama Apr 22 '13 at 21:25

0 Answers0