Wednesday, March 28, 2012

Web Config... smart nav and validate request

I am doing a quick app at work and don't have my notes with me.

I need to add into the web config the ablility of all pages to enable smart navigation and the validate request (so < and > are accepted).

I tried adding this to the web config <%pages smartNavigation="True"
But it didn't like it. Can't remember or find the correct syntax.

Thanks all,

ZathHi,

<system.web
<pages validateRequest="false" /
<pages smartNavigation="true"
</system.web

Hope it helps.
Yes, that's it... I was forgetting the foward slash...

Thanks!

Zath
Dear Zath,

Your welcome! :)

Please note that web.config is also case sensitive.

thanks.

0 comments:

Post a Comment