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 specfic requirement to put the events in a single category. I want to make the categories mutually exclusive. One can select one category at a time from the context menu.
When i check one category it throws an javascript error "Object Required"( Edit('WebScheduler1',arguments[2]). Can any one help on this. Thanks Srikant
Edit('WebScheduler1',arguments[2]).
Can any one help on this.
Thanks
Srikant
Hi Srikant Biswal,
In order to do so, we will need to use client side event of OnContextMenu. So, I believe that you can create your own specific requirement of a specific event in this OnContextMenu event. If it meets the requirement, you can simply hide the other categories that are not unwanted. Here is the snippet to hide the other Categories.
function WebScheduler1_OnContextMenu(controlId, type, menuObj, el, eventView) { var WebScheduler1 = ISGetObject(controlId); menuObj.Items[11].Items[1].Hide(); menuObj.Items[11].Items[2].Hide(); menuObj.Items[11].Items[3].Hide(); return true; }
In here, I only show the item index of 0. The first item(Items[11]) indicates the “Category” menu and it will keep the same and the second Item(Items[1], Items[2],…) indicates the category sub menu, it depends on which submenu do we want to hide. You can create a loop to hide the other submenu of category as well.
I hope it helps. Thank you and have a nice day.
Best Regards,
Andi Santoso
Hi Andi,
Thanks for your response. It is working.
I have a problem. The context menu does not appear on right click.
Added the property "EnableContextMenu = True" still does not appear.
Can you help on this ?
Hi Srikant,
Forgive me, however, I am not able to replicate the issue in my end. By letting "EnabledContextMenu=true" should be appearing the context menu. May I know what browser are you using? Because as I know, Opera has a problem with the "right-click" thing.
Last time I had faced a vesion 751 - 752 problem. I updated the version from 751 to 752 which gives some dll and javascrit files. I am using all the updated files.
Please find the attachment. Context Menu is working fine on a Website project but not working on my Webapplication projects.
I am using browsers like IE7-8 and firefox3
Usually, when we cannot open the context menu, because we are missing the ISNet.WebUI.WebDesktop.Resources.dll. So, please ensure that on your project you have included this .dll file.
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