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
In intersoft original EditingForm, it has Resource WebCombo as below:
When i remove WebComboColumn (ResourceDescription and Action) the appearance of the EditingForm goes hairwire.
Attached is 3 screenshot i made before and after i remove the WebComboColumn.
Noticed that in After1.jpg, there's no record displayed in the EditingForm. This happen when i click (1st time) on an event and edit it. After i close and click to edit 2nd time (After2.jpg), the record is displayed in EditingForm.
Also noticed that in After1.jpg and After2.jpg, the "Save & Close" and "Cancel" button is out of position.
Pls advise.
Hi Way Hang wee,
Attached is a HotFix for your last issue with WebScheduler 2. This is related to the one of getting an editingform's URL on the first click attempted. For your information, this is still a nightly build Hotfix and has not been extensively tested (disclaimer on). So, we are really appreciate if you have encountered an issue can kindly give us a feedback of it.
I hope it helps. Thank you and have a nice day.
Best Regards,
Andi Santoso
Same thing happen when i removed:
1) WebCombo for Importance
2) WebCombo for Categories
Hi Way Hang Wee,
The editing form is created as a connected object to our WebScheduler, that is why, for some reason, there are some object that automatically are connected to database and so on. That is also why we cannot erase or removed some objects. If there are objects that not wanted, perhaps you can create a new Editing Form, basically they are just calling an IFrame Window.
However, it will allow us to add some object to our Editing Form. You can check on our WebScheduler sample, named "EventOrganizer.aspx", or for further information, you also can check on WebScheduler Docs with "Walkthrough: Adding custom fields in WebScheduler using Extensibility feature" topic's name.
I hope it helps. Thank you.
Hi Andi,
If that's the case (cannot remove some objects), then i would like to have my own editing form. But how can i get the EventID in the new window so that i can populate the information in the new window and let the user edit the information allowed?
Thanks!
Following is a snippet to get an EventID for an event. You also need a client side of OnEditingFormShow and do not forget to set the EditingURL to your custom editing form aspx. In this sample, on my custom editing form I have a regular TextBox with an ID of "Text1".
function WebScheduler1_OnEditingFormShow(controlId, action, eventView, eventType, newType) { var WebScheduler1 = ISGetObject(controlId); if (eventType == "Event") { window.setTimeout(function() { window.parent.window[1].document.getElementById ("Text1").value = eventView.GetOriginalObject().EventID;},100); } return true; }
I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.
I tested with your snippet but it doesn't work.
In the EditingForm, during page load i try to get the value of "Text1" but empty string is returned.
From the previous snippet that I gave to use, the value of Text is set to an EventID. To get the value of "Text1", you can simply try with it with an alert. Here are the snippet.
if (eventType == "Event")
{
window.setTimeout(function() { window.parent.window[1].document.getElementById("Text1").value = eventView.GetOriginalObject().EventID; }, 100);
window.setTimeout(function() { alert(window.parent.window[1].document.getElementById("Text1").value); }, 300);
}
I tested with the code but it doesn't work. Attached is the sample. Inside the folder, there's CreateTable.sql to create the needed tables.
Note that during OnEditingFormShow, at checking if (eventType == "Event"), the eventType is actually = "Exception" instead of "Event". I'm not sure if this has anything to do with not able to set the value.
Yes, sorry for the mistaken. The eventType should be Exception. I have tried it and it works fine. I also try to use an alert to show the value inside the TextBox and it works fine. Here is the snippet.
if (eventType == "Exception") { window.setTimeout(function() { window.parent.window[1].document.getElementById("Text1").value = eventView.GetOriginalObject().EventID; }, 100); window.setTimeout(function() { alert(window.parent.window[1].document.getElementById("Text1").value); }, 300); }
The system do alert the value of "Text1" correctly. But at the EditingForm page_load event, the "Text1" return empty string when i try to get the value. I believe the value of "Text1" is assigned after page_load.
In my case, i need to be able to get the EventID during page_load.
I believe my colleague has assisted you in our LiveChat feature regarding this scenario. Thank you and have a nice day.
Now i have been able to get eventID during Page_Load.
Now i would like to get the StartDate and EndDate of the recurring event clicked.
For example:
User click on a recurring event and click "only this instance" which the data as below:
RecurrintEvents
RecurrenceInfo
So if i query from RecurringEvents or RecurrenceInfo table, i'll get StartDate 2010-01-05, but what i need is the exact date of the event clicked by the user. For example if the recurring events occur on every monday from 2010-01-05 to 2010-03-31, and the user click on 1 of the instance where the date is 2010-03-02. So i want to get the date 2010-03-02 instead of query from table and get 2010-01-05.
I found another problem on getting the EventType. Attached is the sample.
In the folder there's CreateTable.sql to create the tables.
Then pls add a non recurring event into Events table.
Also add a recurring event into RecurringEvents table.
So the problem is, when i try to get the EventType during Page_Load in EditingForm, system always returned empty string during the 1st time user clicked to edit event.
If user click 2nd time to edit event, then only able to get the EventType.
This happen to all events (non recurring event, recurring event (edit "only this instance"), and recurring event (edit "all events in the series")).
For non recurring event i'll get EventType="Events" when clicked to edit 2nd time.
While for recurring event (edit "only this instance") i'll get EventType="Exception" when click to edit 2nd time.
While for recurring event (edit "all events in the series") i'll get EventType="RecurringEvents" when click to edit 2nd time.
But i need to get EventType everytime in Page_Load.
I believe this issue has been discussed on our LiveChat. If I am not mistaken, the newest hotfix will be release in couple weeks ahead. For the second problem in getting the start date, here is the sinppet to do so.
alert(eventView.GetOriginalObject().GetStartTime());
Attached is a HotFix for your last issue. This is related to the one of getting an editingform's URL on the first click attempted. For your information, this is still a nightly build Hotfix and has not been extensively tested (disclaimer on). So, we are really appreciate if you have encountered an issue can kindly give us a feedback of it.
After i replaced the file in intersoft installation bin folder and my project bin folder, i get error "Design-time license is not found or not valid. You should NOT use WebScheduler.NET in design-time environment. Please refer to License Agreement."
What should i do?
This is occurred, perhaps, related to you FrameWork. Here, I attached you the latest FrameWork. You could update your FrameWork to the latest one.
Hopefully it will help. Thank you and have a nice day.
May u tell me how to update the framework?
You can copy all of the .dll files from bin folder into your GAC(C:\Windows\assembly) except for ISNet.WebUI.Resources.dll. This particular .dll file(ISNet.WebUI.Resources.dll), you will need copy into your project bin folder.
As discussed in the live chat. Hope to get your feedback asap.
ok it works now!
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