Hi,
I am trying to implement Forms/AddAppointment.aspx page my webscheduleInfo.
What is the Resources.strings namespace? It gives me error on page.Where do I find this?
Resources.strings.JS_ComboBox_AM on this line.
Thanks
Hello ssvan,
The AddAppointment dialog should be available without having to implement the same functionality. If you add a schedule view control (WebMonthView, WebDayView, etc.) and connect it to a WebScheduleInfo, when you run the project and double click on a timeslot, the Add Appointment dialog should appear.
To directly answer your question, that is a reference to an internationalized string from a .resx file (WebSchedule/Forms/App_GlobalResources/strings.resx). Again, you shouldn't have to rebuild the AddAppointment.aspx source code in order to get this dialog to appear. It is already included in the WebSchedule assembly.
Let me know if I misunderstood your question.
Elizabeth AlbertLocalization Engineer
Hello,
Thanks for the reply.
I used the example code "GenericDataProvider to DataSet" in the sample section.
The month view is displayed but when i click the next button it is not displaying any dates for the user and just the control alone is displayed.
Also when I double clicked it gives Resource not found error.
It is looking for the page in this path with my localhost string.
this.wsInfo.AppointmentFormPath = "forms/AppointmentAdd.aspx";
Am I missing anything.
Now, I added these files to my project as given in this link.I added a folder 'forms' and added all the steps as given.
http://help.infragistics.com/NetAdvantage/ASPNET/2010.2?page=Web_WebSchedule_Including_WebSchedule_Dialog_Forms_in_your_CS_Web_Site.html
and when i double click it gives Object expected error on function AppointmentAddLoad() on AddAppointment.aspx page.and all the images are not displayed properly.
where can I find the images for this page?
The images should be available in an "Images" subfolder. For example, I copied the entire "WebSchedule" folder from
C:\Program Files\Infragistics\NetAdvantage 2010.3\ASP.NET\CLR4.0\Forms
into my website folder, and followed the steps from the topic you linked. In WebSite1\WebSchedule, there is a folder called "Images", which contains the images for the appointment dialog. I have attached a screenshot of my Website1\WebSchedule folder.
Let me know if you'd also like me to attach the sample project I created, but I think it's very similar to yours.
Hi Elizabeth,
Thanks for the reply.I tried the same thing but it gives Not found error when I double click in this path.
http://localhost:579/ig_common/20103clr35/Forms/WebSchedule/AppointmentAdd.aspx.
If you could share your sample project it would be helpful .
I have attached "most" of my sample project. The whole thing exceeded the file size limit, so I removed the "WebSchedule" folder. I'll reply to this post and attach the WebSchedule folder, which goes in the WebSite1 folder.
Let me know if you can't open it (I was using VS2010 CLR4.0). I can try to make a new sample project in a similar environment to what you're using.
Attaching the WebSchedule folder. Unzip it and move it into the WebSite1 folder.
Thanks Elizabeth.
The CRUD statements works fine.
Your other forum post about connecting to SQL server has been answered by one of our ASP.NET developers. That forum post seems to be the same question that we've come down to here. Please check that thread and see if it answers your question.
Hello Elizabeth,
I am using this link only to connect to the sql server.
The calendar is displaying empty.
It has got two select parameters which is not found in the database structure.
If I get the correct script to create tables,it could be helpful.
I am not very familiar with WebSchedule using sqlserver database. I saw your other post about connecting to sqlserver, so we'll see what reply that gets.
In the meantime, I found this help topic, which might be helpful.
It works.
This sample which I tried is the hardcoded structure of the dataset.But I need to connect to sqlserver using sqldatasource
Have you worked with the sqlserver database.
I need to create the tables and use the CRUD statements to update my database.
Any sample project or steps to follow will be most helpful.