Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

{*ModuleUrl} routing table
nvanmatre
#1 Posted : Thursday, October 14, 2010 10:51:32 PM(UTC)
Rank: Member
Groups: Registered

Joined: 3/10/2010(UTC)
Posts: 21
I have a custom module that has an ActionLink to another ActionMethod in the module. If I don't add {*ModuleUrl} as the URL in the Page settings I get the dreaded "A potentially dangerous Request.Path value was detected from the client (?). Can I add this to the Route.config instead? I have tried a few different approaches but I haven't found the correct one yet.

Would I need to add this to the modules route.config or the main site route.config?


If this helps here is what I am doing for my proof of concept


Pages
CRM (Parent page)
Index (Child page of CRM)
Search (Child page of CRM) - Contains a view from the CRM Module

Search will have a list of results when clicking on one of the results it calls an actionlink of
Code:
<%=Html.ActionLink("Sometext", "Customer",new {customerId="theCustomerId"})%>



Thanks,
Nick
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.238 seconds.