[Mono-bugs] [Bug 578863] New: Formview ignores PagerSettings when using Gridview paging

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 10 15:33:54 EST 2010


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

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


           Summary: Formview ignores PagerSettings when using Gridview
                    paging
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86-64
        OS/Version: RHEL 5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: rabram at customsinfo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=341837)
 --> (http://bugzilla.novell.com/attachment.cgi?id=341837)
Screenshot showing unwanted formview pager

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6)
Gecko/20100107 Fedora/3.5.6-1.fc12 Firefox/3.5.6

Web page displays two pager areas, one for the gridview and one for the
formview.  Formview ignores the Visible pager settings.  I am unable to hide
the formview pager except by using PagerStyle-ForeColor to color the pager to
the same color as the background.



<asp:FormView ID="fvUsers" runat="server" Width="100%" BorderWidth="0px"
DataSourceID="odsUser" AllowPaging="True" PagerSettings-Visible="false" >
    <ItemTemplate>
        <div>
            <asp:GridView ID="gvUsers" runat="server" SkinID="grdManage"
DataSourceID="odsUser"
                OnRowDataBound="gvUsers_RowDataBound" AllowSorting="true"  >
                <Columns>
                    ...
                </Columns>
            </asp:GridView>
        </div>
    </ItemTemplate>
    <EmptyDataTemplate>
        <asp:Label runat="server" ID="none" Text="There are no user records
found."></asp:Label>
    </EmptyDataTemplate>
    <PagerSettings Visible="False" />
</asp:FormView>

Reproducible: Always

Steps to Reproduce:
1.Create formview with gridview within the ItemTemplate tags
2.Turn on paging 



Expected Results:  
FormView pager should not have been rendered.

-- 
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