Controls Not working Domain root.

3 posts, 0 answers
  1. Dave
    Dave avatar
    17 posts
    Member since:
    Dec 2014

    Posted 05 Feb 2015 Link to this post

    Hi ..

    I have a strange problem that effects all of my controls but mainly is buttons.. When my site loads it default to the root domain ie.. https://www.rootdomain
    but none of the controls respond. Click a button and nothing happens.. but if you reload page https://www.rootdomain/Default.aspx everything works. I'm just wondering how to go about resolving this and anything obvious I've missed?

    thanks
  2. Dave
    Dave avatar
    17 posts
    Member since:
    Dec 2014

    Posted 05 Feb 2015 in reply to Dave Link to this post

    ok so I bodged a workaround using a redirect as below but its a bit ugly.. The site loads the default page but the controls don't work unless the full path to the page is in the address bar.. I'm guessing there is a way to get them to work correctly at the root domain address?

    <rewrite>
          <rules>
            <rule name="Root Hit Redirect" stopProcessing="true">
                    <match url="^$" />
                    <action type="Redirect" url="/Defaultaspx" />
                </rule>
          </rules>
        </rewrite>
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 05 Feb 2015 Link to this post

    Hello Dave,

    The only case we are aware of, which can cause such a problem, is described here: http://www.telerik.com/help/aspnet-ajax/button-event-handlers-not-raised.html. If it applies to you as well, I advise that you simply remove RadCompression since modern IIS versions (7 and later) have their own built-in dynamic content compression so RadCompression is redundant.

    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top