Pager does not work with default URL

3 posts, 1 answers
  1. Ed Lance
    Ed Lance avatar
    61 posts
    Member since:
    Jun 2012

    Posted 09 Dec 2011 Link to this post

    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,  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, then the pager behaves properly. 

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

    How do I fix this?
  2. Answer
    Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 13 Dec 2011 Link to this post

    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.

    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
  3. Ed Lance
    Ed Lance avatar
    61 posts
    Member since:
    Jun 2012

    Posted 14 Dec 2011 Link to this post

    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" />

Back to Top