0

I have a comboBox within a grid. Basically to get it I have to use findcontrol.

I am thinking of another option however. Within the init method I was planning on getting the value and storing it to a private static field:

private static RadComboBox theComboBox

Can someone please tell me if this is not good practice. ie. Is it unwise to be storing a relatively complex object like this in a static field?

BigJim
  • 411
  • 6
  • 20

1 Answers1

0

I wouldn't recommend it. See this thread for answer why. If you really want to do this, I'd use a session instead.

Community
  • 1
  • 1
Lareau
  • 1,982
  • 1
  • 26
  • 47