This question is locked. New answers and comments are not allowed.
Hi
I am using hyphen's instead of underscores for my controllers and actions. I wrote a hyphenated route handler.
In debug="true" the menu is fine.
However when I set to debug="false" it spits out an error.
Do you know what the problem is and if it is with the Telerik MVC controls or not?
I am using hyphen's instead of underscores for my controllers and actions. I wrote a hyphenated route handler.
In debug="true" the menu is fine.
menu.Add().Text("How to Search").Action("Index", "How-To-Search");
However when I set to debug="false" it spits out an error.
[ArgumentNullException: Value cannot be null.
Parameter name: value]
System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic) +8948527
System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) +93
System.Web.Caching.Cache.Insert(String key, Object value) +75
Telerik.Web.Mvc.Infrastructure.Implementation.CacheProvider.Insert(String key, Object value) in f:\108\Griffin\Current Full\Sources\Source\Telerik.Web.Mvc\Infrastructure\Implementation\CacheProvider.cs:20
Do you know what the problem is and if it is with the Telerik MVC controls or not?