Paging a Gridview, Pathing Problems?

Posted on 2009-02-10
Last Modified: 2012-08-13
I have the following structure for my site:


Within the root directory I hold all the generic pages and when a user logs in I redirect to the customers page eg:


Where the customer may have some specific content which cannot be used by everyone.

The problem I have just encounterd is when I enable paging on the report and I select the page It gives me an Error 404 as it's looking for:


I have a rather unique website as I am using UFrame :

Which pulls in exteral pages and wraps them into Div Tags. Perhaps this is the issue, but I just wanted to confirm if anyone might know why paging on a gridview may try and point to the root location.

Question by:directxBOB
    1 Comment
    LVL 15

    Accepted Solution

    Paging on a gridview should post back to itself.  Something like:

    <a href="javascript:__doPostBack('GridView1','Page$2')">2</a>

    It probably has something to do with the UFrame.  You could try setting the <base href='/customer"> in the report1 page and see if it changes anything.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Join & Write a Comment

    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now