Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
DG lose viewstate
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Amir, post: 4262838"] Hi all I have only a Datagrid and a submit button on a form. I use 2 template columns and some bound columns in my grid. My code in the event handler of submit button's click count the datagrid items with process it's items with a for loop. But "Dg.Items.Count" is ZERO. When I debug the code, after postback in Page_load "Dg.Items.Count" is not ZERO. But in click's event handler it return zero. It seems the DG lose it's data in viewstate between to method (Page_load & click's event handler). I instlled the .NET framework 1.1 SP1. I'm very Penitent that have not switch to J2EE till yet. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
DG lose viewstate
Top