Paging a Gridview, Pathing Problems?

I have the following structure for my site:

Root
-Customers
-Images
-CSS
-JS

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

./Customers/Report1.aspx

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:

./Report1.aspx

I have a rather unique website as I am using UFrame :
http://www.codeplex.com/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.

directxBOBAsked:
Who is Participating?
 
aibusinesssolutionsCommented:
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.
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.