?
Solved

Paging a Gridview, Pathing Problems?

Posted on 2009-02-10
1
Medium Priority
?
240 Views
Last Modified: 2012-08-13
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.

0
Comment
Question by:directxBOB
1 Comment
 
LVL 15

Accepted Solution

by:
aibusinesssolutions earned 2000 total points
ID: 23607305
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
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.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month15 days, 23 hours left to enroll

850 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