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

Post back not firing unless default.aspx in URL

4 Answers 218 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dino
Top achievements
Rank 1
dino asked on 26 Sep 2012, 07:51 PM
I have a Telerik project that I created with VS2010.  The problem I'm having is as follows:

default.aspx on the root
When I navigate to http://hostname everything is fine.  Post back fires, everything works as expected.

default.aspx in a subfolder
When I run the exact same page in a subfolder, the following happens: if I navigate to http://hostname/subfolder, post back does not fire.  If I navigate to http://hostname/subfolder/default.aspx, post back works as expected.

The behavior occurs when the site is run on IIS7 (and IIS Express) but does not occur when running on .net dev server.


Any ideas?

(I've tried posting this three times and it's not getting submitted so I've taken out the code in case that's causing a problem.  I can post the markup and codebehind if necessary.  Going to try and submit again...)

4 Answers, 1 is accepted

Sort by
0
dino
Top achievements
Rank 1
answered on 26 Sep 2012, 08:36 PM
OK, I finally found something definitive.

First this:
http://stackoverflow.com/questions/7228344/postback-doesnt-work-with-aspx-page-as-default-document 

Then this:
http://www.asp.net/whitepapers/aspnet4/breaking-changes#0.1__Toc256770154 


Since this doesn't happen unless I'm using Telerik, I have to assume it's a problem related to Telerik. The suggested solutions are a bit over my head.  I would appreciate it if someone at Telerik could have a look and possibly offer my another explanation.

Thanks.
0
Iana Tsolova
Telerik team
answered on 29 Sep 2012, 08:23 AM
Hi,

You can also check the Known issues section in this topic:
http://www.telerik.com/help/aspnet-ajax/compression.html

Kind regards,
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
Accepted
Iana Tsolova
Telerik team
answered on 29 Sep 2012, 08:25 AM
Hi,

You can also check the Known issues section in this topic:
http://www.telerik.com/help/aspnet-ajax/compression.html

Kind regards,
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
dino
Top achievements
Rank 1
answered on 01 Oct 2012, 03:36 PM
Yep, that did it.  The "Known Issues" portion of that document contained the answer.  You have no idea what a relief it is to finally have this fixed. Thanks!
Tags
General Discussions
Asked by
dino
Top achievements
Rank 1
Answers by
dino
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or