How to disable URL extension on page postback

Customer care manager

Juraj Ondrus asked on October 27, 2009 07:52

How to disable URL extension on page postback

Correct Answer

Juraj Ondrus answered on October 27, 2009 07:52

If you are using extension-less ULRs for your web site, by default any postback adds an .aspxextension to the URL. You can disable this behavior using following key in your web.config file:

<add key="CMSUseExtensionOnPostback" value="false"/>

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.