I am using a foreign key column in my grid, and populate the data from viewdata as below
columns.ForeignKey(c => c.PersonId, (SelectList)ViewData["PersonSource"]);
I set the ViewData["PersonSource"] at the page load and the values are updated correctly.
But in UI the column populates the values from the cache rather than the ViewData. It works fine if I manually clear the browser cache.
Anyways I can overcome this issue?