iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi all,
I have a problem with inserting a new event using Web Scheduler. I have an ISDataSource bound to a MySql database (the exact copy of a db retrieved by an Intersoft Sample) with a CustomDataObject which contains the select, insert, delete and update methods. When I load the page, Web Scheduler is correctly loaded with all the events in the database, but when I tries to create a new event (in any view of Web Scheduler), I get a server error of which I report the code in the attachment. I'm using Visual Web Developer 2008 with Windows Vista, I tried to execute in debug mode, and I found that the insert method is not executed, so I think that it's an error related to WebScheduler and not to ISDataSource.
I would be grateful if someone could help me, 'cause I have strict time to resolve this problem.
Thanks in advance,
Mino.
Based on my observation on the attached code, it seems there is some mistake in the WebScheduler markup.
In the EventsBinding property, you will need to use different column for StartTime and EndTime and you will also need to bind the AllDayEvent field.
<EventsBinding AllDayEventField="..." CategoryIDField="IDCategories" DescriptionField="descrizione" EndTimeField="oraFine" EventIDField="ID" LocationField="luogo" ModeField="modalita" ResourceIDField="IDRisorsa" StartTimeField="oraFine" SubjectField="soggetto" ReminderTimeSpanField="promemoria" />
Also in the ISDataSource Events insert parameter, there is some unaccounted parameter. The parameter that is used for the ISDataSource insert parameter and must be the same with the field binded in the EventsBinding property, except for the ID.
<asp:Parameter Name="IDCategories" Type="String" /><asp:Parameter Name="IDRisorsa" Type="Int32" /><asp:Parameter Name="modalita" Type="Int32" /><asp:Parameter Name="soggetto" Type="String" /><asp:Parameter Name="descrizione" Type="String" /><asp:Parameter Name="luogo" Type="String" /><asp:Parameter Name="allDay" Type="Int32" /><asp:Parameter Name="oraInizio" Type="String" /><asp:Parameter Name="oraFine" Type="String" /><asp:Parameter Name="promemoria" Type="Int32" />
Glenn,
thank you very much!! It was a tricky problem, I spent a full day to solve it with no results and finally it's a copy-paste mistake...I'm very grateful to you, thanks for your reply.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname