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

Controls Not working Domain root.

2 Answers 64 Views
Button
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 05 Feb 2015, 09:02 AM
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 Answers, 1 is accepted

Sort by
0
Dave
Top achievements
Rank 1
answered on 05 Feb 2015, 12:46 PM
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>
0
Marin Bratanov
Telerik team
answered on 05 Feb 2015, 01:15 PM

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.

 
Tags
Button
Asked by
Dave
Top achievements
Rank 1
Answers by
Dave
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or