Hi
I am starting a silverlight project using csla 3.6.2.
I have downloaded the samples to get me started.
I have being trying to use the Navigator control supplied in the framework, however even in the sample i get the bellow error
System.InvalidOperationException was unhandled by user code
Message="Eval failed."
StackTrace:
at System.Windows.Browser.HtmlWindow.Eval(String code)
at Csla.Silverlight.Navigator.RegisterNavigator(String silverlightControlNameInWebPage)
at InventoryDemo.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Is this due to any browser settings required, and if not has anyone got any ideas as to what the problem might be?
Thanks a lot
Dexter
I'm going to guess that this occurs because it can't resolve "Sys."?
I've run into this a couple times, and the issue is that the AJAX extensions for ASP.NET aren't installed on your machine, or (these days it is more likely that they) aren't configured properly in your web project.
Compare your web.config to the sample app's web.config and your web page to the same web page. I don't remember the exact content - but I know for sure that there's a bit of html that must be in the web page to enable the AJAX extensions, and there might be something in web.config as well.
Copyright (c) Marimer LLC