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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to