Objectlist Pagination Problem RRS feed

  • Question

  • User1436359208 posted

    Hi everyone,

    I am developing a website for mobile devices and i found the problem in objectlist pagination.

    here is my code:

    <mobile:ObjectList Runat="server" ID="objList" BackColor="#99CCFF" Alignment="Left"
                LabelStyle-Alignment="Left" LabelStyle-BackColor="#3333CC" LabelStyle-Wrapping="NotSet"
                BackCommandText="Go Back" Visible="True" BreakAfter="false" CommandStyle-Alignment="Center"
                AutoGenerateFields="False" LabelField="StoreName" OnPreRender="objList_PreRender"
                TableFields="StoreName;ContactPerson;Email" ItemsPerPage="10" StyleReference="image">
                <Field DataField="StoreId" Title="" Visible="False" />
                <Field DataField="StoreName" Title="Store" />
                <DeviceSpecific Runat="server">
                            <ucHeader:Header ID="headerLogin" runat="server" />
                            <mobile:Label ID="lblHidden" Runat="server" Visible="false">
                                <%#Eval("StoreId") %>
                            <mobile:Link ID="lnkUrl" Runat="server" Visible="true">
                                <%#Eval("StoreName") %>
                                <mobile:Command ID="btnPrevious" Runat="server" Format="Link" BreakAfter="False"
                                <mobile:Command ID="btnNext" Runat="server" Format="Link" BreakAfter="True" OnItemCommand="btnNext_Click">Next</mobile:Command>

    problem:  i want to show the footer control(containing the footer link menus) on each page in the objectlist. but by doing this i get the pager after footer control.
    		i want to get the pager before footer control.

    So anyone knows regarding this of ever faces the problem like this..?
    can i access the header or footer control in code behind like in gridview if yes the how?

    Thank in advance

    Saturday, February 5, 2011 3:56 AM

All replies