FormVew PagerSettings-Position Won't Work

No matter what I try my pager links appear at the top AND bottom of my form. Here's the code I'm using to specify them only at the top. Any suggestions?
 
   <asp:FormView ID="fvwProperty" runat="server"
                  DataKeyNames="PropertyID"
                  BorderStyle="Dashed"
                  AllowPaging="True"
                  PagerSettings-Mode="NumericFirstLast"  
                  PagerSettings-Position="Top"
                  OnPageIndexChanging="fvwProperty_PageIndexChanging"                
                  EmptyDataText="no properties found">
   etc


    private void BindPropertyFormView()
    {
        DataTable dtbl;
        long lngLogInID = this.LogInID;
        dtbl = CATSDAL.tblPropertySearchResult_SelectPageForLogInID(mintPageIndex, 1, ref mintHowManyPages, lngLogInID);
        this.fvwProperty.DataSource = dtbl;
        this.fvwProperty.DataBind();
        // bind the active view
        BindMultiView();
    }
rmkAsked:
Who is Participating?
 
GranModCommented:
Closed, 250 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0
 
rmkAuthor Commented:
I finally found the solution. i.e. you have to declare the pager settings outside of the FormView tag like this

   <asp:FormView ID="fvwProperty" runat="server"
                  DataKeyNames="PropertyID"
                  BorderStyle="Dashed"
                  AllowPaging="True"
                  PagerSettings-Mode="NumericFirstLast"  
                  OnPageIndexChanging="fvwProperty_PageIndexChanging"                
                  EmptyDataText="no properties found">

    <PagerSettings Position="Top">
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.