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
Hello,
You're welcome.Should you have further question, please do not hesitate to ask us again. I would be happy to help you again.
Regards,Hans.
Thank you for patiently waiting.I made a sample that maybe can resolve your problem. In my sample, I use WebScheduler_Personal.mdb database.Then I do a validation in OnBeforeEdit() client side event. And I use “WebScheduler1.EventViews” to get all event data in that day and the next day.Here’s the snippet script below:
function WebScheduler1_OnBeforeEdit(controlId, evt) { var WebScheduler1 = ISGetObject(controlId); // variable ResourceID of selected event var ResID = evt.ResourceID; // variable EventID of selected event var EventID = evt.EventID; // variable date of selected event var Date = evt.StartTime.getDate(); // variable new StartTime of selected event var NewStartTime = evt.StartTime; // variable new EndTime of selected event var NewEndTime = evt.EndTime; var EditMode = 0; for (var i = 0; i < WebScheduler1.EventViews.length; i++) { // variable another event date var OtherDate = WebScheduler1.EventViews[i].StartTime.getDate(); // if the other event have same date with the selected event if (Date == OtherDate) { // if the another event is Recurring Event if (WebScheduler1.EventViews[i].OriginalObject.EventID == -1) { var OtherEventID = WebScheduler1.EventViews[i].OriginalRecurringObject.EventID; var OtherResID = WebScheduler1.EventViews[i].OriginalRecurringObject.ResourceID var OtherStartTime = WebScheduler1.EventViews[i].OriginalRecurringObject.StartTime; var OtherEndTime = WebScheduler1.EventViews[i].OriginalRecurringObject.EndTime; } // if the another event is not Recurring Event else { var OtherEventID = WebScheduler1.EventViews[i].OriginalObject.EventID; var OtherResID = WebScheduler1.EventViews[i].OriginalObject.ResourceID var OtherStartTime = WebScheduler1.EventViews[i].OriginalObject.StartTime; var OtherEndTime = WebScheduler1.EventViews[i].OriginalObject.EndTime; } // if don't have same EventID if (OtherEventID != EventID) { // if have same ResourceID if (OtherResID == ResID) { // if the event is overlapping with another event if (NewStartTime.getTime() > OtherStartTime.getTime() && NewStartTime.getTime() < OtherEndTime.getTime()) { EditMode++; } // if the event is overlapping with another event else if (NewStartTime.getTime() == OtherStartTime.getTime()) { EditMode++; } // if the event is overlapping with another event else if (NewStartTime.getTime() < OtherStartTime.getTime() && NewEndTime.getTime() > OtherStartTime.getTime()) { EditMode++; } } } } } // if doesn't overlapping with another event if (EditMode < 1) { return true; } // if overlapping with another event else { alert("This event overlapping with another event.!"); return false; } }
I also attached my sample, in order to make you more easily understand about my sample.Hope this helps. Thank you.
Regards,Hans
I apologize for this misunderstanding.I’ve been able to replicate your issue on my PC (by using Safari).And I’ve made a simple sample to help you to resolve your issue (by modifying XHTML DOCTYPE to HTML DOCTYPE)
Unfortunately, I don’t have any privilege to upload my sample to our server. I need to get the privilege from my supervisor. Therefore, I attached my sample to my last post.However, like I said in my last post, you could see WebGrid data editing in HTML & XHTML DOCTYPE in our live sample.
Would you mind to clarify that you can edit on WebGrid HTML doctype in our live sample. If yes, Please try to use our latest hotfixes.Then let me know if the issue still persists or not.
Thank you.Regards,Hans.
I’m sorry for the inconvenience.Unfortunately I don’t have any mobile device like iPad or iPhone for testing your issue.As far as I know, if I double tab on screen (to go into edit mode), that will zoom the page not go into edit mode.
To see the sample about data editing in WebGrid in HTML DOCTYPE, please follow this link:http://live.intersoftpt.com/Default.aspx?p=/WebGrid//DataEditing
Or to see the sample about WebGrid in XHTML DOCTYPE, please follow this link:http://live.intersoftpt.com/Default.aspx?path=/WebGrid/User%20Interface&url=cs/WebGrid/XHTML.aspx
For further information about our WebGrid sample, please follow this link: http://live.intersoftpt.com/
Thank you.
I’m glad to hear that my sample can resolve your problem.
If there is any question, please do not hesitate to ask us again.
I would be happy to help you.
Regards,
Hans.
I’m sorry for late response.
Unfortunately we still can’t validate overlapping timeline time when moving or resizing color bars.
Now we are discussing how to resolve this problem with developer division.
I’m sorry for the inconvenience. I’ll let you know if we can validate overlapping timeline time.
Thank you for understanding.
I’ve made a simple sample that maybe similar with your scenario. Then I use HTML DOCTYPE in my sample.
But unfortunately, I can’t replicate your issue. I still can go into edit mode.
Please run my attached sample, then try to go into edit mode. In my sample, I use Nortwind.mdb database & Employees table.
If you still can’t go into edit mode in my sample. Please try to update the WebGrid to the latest hotfix. Then let me know if the issue still persists or not.
Hope this helps. Thank you.
Hans
You can’t create new window or shortcut on client side from another page. Because you can’t get the reference of the WebDesktopManager.
You should create new window or shortcut in the page that contains WebDesktopManager.
Therefore, to resolve your problem, we can trick it by using parent references. In this case, we need to call parent script from child.
Let me show me show you the example how to call parent script from child.
Here’s the snippet script from parent page below:
function CreateShortcutParent() { var dm = ISGetDesktopManager(); var shortcut1 = new WebDesktopShortcut(); shortcut1.Name = "WebDesktopShortcut1"; shortcut1.Text = "New Shortcut"; shortcut1.Image = "../Images/welcome-32.gif"; shortcut1.ToolTip = "Display Welcome Screen."; shortcut1.WindowName = "wndAboutDM"; dm.ShortcutIcons.Add(shortcut1); dm.ShortcutIconsVisible = true; shortcut1.Show(); }
And here’s snippet script in child page, to call parent script(CreateShortcutParent function) below:
function CreateShortcut() { window.parent.CreateShortcutParent(); }
I also attached my simple sample, in order to make you easier understand how to use the script.
Hope this help. Thank you.
The snippet HTML code that you show is XHTML DOCTYPE.
Let me show you how to change XHTML DOCTYPE to HTML DOCTYPE.
Here’s snippet XHTML DOCTYPE code below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Please change the snippet that code above to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
I’m sorry for the inconvenience. I am able to replicate your issue as well.Your issue has been reported to developer division. I’ll let you know if this issue has been fixed.
However, for the time being, you could use HTML DOCTYPE in your page, to resolve this issue.
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