[Mono-bugs] [Bug 364734] New: GridView erroneous behavior on postback

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 25 18:56:38 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=364734


           Summary: GridView erroneous behavior on postback
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: i586
        OS/Version: openSUSE 10.2
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: lapinzon at globalpyme.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Description of Problem:

the gridview is not regenerated on postback. In MS .Net the grid is regenerated
if enableviewstate=true, but with mono the gridview never is recreated.

Steps to reproduce the problem:
1. 
sample:
protected void Page_Load(...)
 if (!IsPostback){
   grid.DataSource = anyDataTable;
   grid.DataBind();
 }

2. add some submit control to the page


Actual Results:
the first time, the gridview shows some rows, but on postback the gridview
disapears, and gridviewcommands like update and delete produce errors.

Expected Results:
if gridview.enableviewstate=true the gridview must be recreated.
if gridview.enableviewstate=false then the gridview does'nt have to be
recreated


How often does this happen? 
always

Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list