Last post Jan 11, 2011 02:52 AM by Wenchao Zeng - MSFT
Jan 06, 2011 12:53 PM|tecknet|LINK
In a aspx page I am displaying records in the datagrid control. I have added one more column to the datagrid in my aspx page and this column is the template column which contains the checkbox control for each of the records. Then I have two buttons a) Display
and b) submit
When i click Display button I get all the records in the datagrid from the database(about 700 rows). Then when I click the checkbox for a few rows and click the Submit button then it redirects to another aspx page (i have given response.redirect) . But sometimes
when i click a few rows and then click the submit button the screen goes completely blank and it even does not redirect to the next page as specified(in the browser URL the initial page name is only shown). Why could this be happening? Thank you.
Jan 07, 2011 05:45 AM|jassu107|LINK
Check these links
Jan 11, 2011 02:52 AM|Wenchao Zeng - MSFT|LINK
Generally, the cause might be the View State is too large. You can open the page in browser, then
right-click->View source to see view state. If you see that the view state is pretty large, you might try
disabling the View State.
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUINTEwNDE4MTBkZFL3kWLF4s5xWXhlBf1tbXcPlefR/WypyVmR9052EhDi" />
If it does not solve your issue, can you kindly share your code for troubleshooting?