ViewState Issues

  • Thread starter Thread starter Robert Bravery
  • Start date Start date
R

Robert Bravery

Hi

I have a form with sever data controls (No controls are embedded, all are
placed directly on the form):

The first control is a DataView, following that are 3 Grid Views. On
subsequent calls to the page, the Dataview recalls it's state, or redraws
data appropriatly, but the remaining grids retain neither their viewstates,
nor do they redraw data apporpriatly if the keys change. Any idea what I am
doing wrong?
 
You may have to put an (!IsPostBack) around your databinding code. If grid
is requeried on evey postback, it may appear like your losing your
viewstate.

Charlie
 
Back
Top