I've created a simple web site using visual studio to test webschedul component.
When i lauch my asp page, i got the error "Can't init script for webscheduleInfo".
i have this in my web.config:
<
If i remove javaScriptDirectory="~/Scripts/" I don't have the error anymore, but i got another one if i try to create an appointement.
Can someone help me?
With regard to the "Can't init script for webscheduleinfo" error message, it sounds like the Web site cannot find the necessary JavaScript in ~/Scripts/ (this is also supported by the error not happening when you remove this directory from your web.config.)
To resolve this, please try copying the JavaScript files (including sub-folders, if any) from IG Common Scripts directory (this will be at \inetpub\wwwroot\aspnet_client\infragistics\20101CLR\Scripts if you installed NetAdvantage ASP.NET controls to a machine that has IIS installed) to the ~/Scripts/ sub-folder of your Web site. More information on this deployment step is given in the following Help topic on deploying common assets (I don't think you have to create the ig_common virtual directory if everything is beneath your Web site folder, but you will need to make sure any files in ig_common are copied: as the problem is they aren't getting found):
http://help.infragistics.com/NetAdvantage/ASPNET/2010.1/CLR3.5/?page=Deploying_Common_Assets.html
With regard to the error when you try to create an appointment, I am guessing that you may not have the WebSchedule Forms copied to your Web site. Please see one of the following two Help topics (depending on whether you are developing in C# or VB .NET) for steps on how to copy and configure the WebSchedule Forms to your deployed Web site:
C#http://help.infragistics.com/NetAdvantage/ASPNET/2010.1/CLR3.5/?page=Web_WebSchedule_Including_WebSchedule_Dialog_Forms_in_your_CS_Web_Site.html
VB .NEThttp://help.infragistics.com/NetAdvantage/ASPNET/2010.1/CLR3.5/?page=WEB_WebSchedule_Including_WebSchedule_Dialog_Forms_in_your_VB_NET_Web_Site.html