This is a migrated thread and some comments may be shown as answers.

Pager does not work with default URL

2 Answers 52 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Ed Lance
Top achievements
Rank 1
Ed Lance asked on 09 Dec 2011, 07:13 PM
I am redoing an existing site to use ASP.Net and Telerik controls.  The owner has lots of links that rely on the default page in IIS.  For example, www.mydomain.com/search/.  In the search folder, I replaced index.asp with my new index.aspx.  The page comes up no problem.  But when the user tries to change pages with the DataPager, the page posts, but does not refresh.  If I manually change the URL to www.mydomain.com/search/index.aspx, then the pager behaves properly. 

The old manual .asp code would handle this without a problem. 

How do I fix this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 13 Dec 2011, 11:49 AM
Hi Ed,

Find the solution for this problem at the bottom of this article, under the Known issues section.

Let me know if it works for you.

Greetings,
Iana Tsolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Ed Lance
Top achievements
Rank 1
answered on 14 Dec 2011, 07:36 PM
Yes that fixed it.  It is important to note that preCondition="managedHandler" has to be set in the modules section, not the httpModules section, this caused me some confusion at first.  ALSO note that I changed runAllManagedModulesForAllRequests to False.

web.config sample:
<modules runAllManagedModulesForAllRequests="false">
  <remove name="RadUploadModule" />
  <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
  <remove name="RadCompression" />
  <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="managedHandler" />
</modules>

Tags
DataPager
Asked by
Ed Lance
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Ed Lance
Top achievements
Rank 1
Share this question
or