firstdivision
MIS
Hi,
I have a datatable stored in the session that is bound to a datagrid with paging enabled. When you first load the page you can click through the datagrid pages fine, but eventually (maybe after 9 clicks) you'll find that the datatable in the session suddenly has zero rows (and the datagrid bind fails because there are no pages to display). The variable is still there in the session, and it's still a DataTable type, there're just no rows.
However, if you click to view another page on the datagrid it will work. Click again...no. It continues on this pattern forever, back and forth, working and not working. All the other session variables (which are all strings) are fine.
I searched through the code. There is only one place that the session variable is set. Everything else is a read.
This behaviour is exhibited both on my development machine (WinXP Pro / 1GB RAM) and the development server (W2003 / dual processors, tons of RAM, etc).
Very confused and frustrated...
Thanks,
-FD
I have a datatable stored in the session that is bound to a datagrid with paging enabled. When you first load the page you can click through the datagrid pages fine, but eventually (maybe after 9 clicks) you'll find that the datatable in the session suddenly has zero rows (and the datagrid bind fails because there are no pages to display). The variable is still there in the session, and it's still a DataTable type, there're just no rows.
However, if you click to view another page on the datagrid it will work. Click again...no. It continues on this pattern forever, back and forth, working and not working. All the other session variables (which are all strings) are fine.
I searched through the code. There is only one place that the session variable is set. Everything else is a read.
This behaviour is exhibited both on my development machine (WinXP Pro / 1GB RAM) and the development server (W2003 / dual processors, tons of RAM, etc).
Very confused and frustrated...
Thanks,
-FD