[Mono-bugs] [Bug 608313] New: Changing visibility of controls in Repeater's ItemTemplate does not work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 24 11:09:26 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=608313

http://bugzilla.novell.com/show_bug.cgi?id=608313#c0


           Summary: Changing visibility of controls in Repeater's
                    ItemTemplate does not work
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: i586
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: afarnik at seznam.cz
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=364204)
 --> (http://bugzilla.novell.com/attachment.cgi?id=364204)
ASPX page with the Repeater

Description of Problem:
The controls put in Repeater's ItemTemplate, rendered recurrently for each Item
in Repeater.Items can not be changed Visible parameter (reading their values
does work however).


Steps to reproduce the problem:
1. Default.aspx page containing the Repeater and the code is attached

2. The XmlDataSource in the page expects Data.xml file placed in the same
directory as Default.aspx page. Its sample content could be:

<?xml version="1.0" encoding="utf-8" ?>
<employees>
  <employee>
    <salary>10000</salary>
  </employee>
  <employee>
    <salary>15000</salary>
  </employee>
  <employee>
    <salary>12000</salary>
  </employee>
</employees>

3. Browse the Default.aspx page and click Edit


Actual Results:
The page fires PostBack, but appearance does not change.

Expected Results:
Label and LnkButton controls should hide and TextBox should appear instead on
the row where LinkButton was clicked.

How often does this happen? 
Always

Additional Information:
This works properly if hosted on MS IIS.

-- 
Configure bugmail: http://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