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,
when I invoke the method UpdateUI of WebCombo, the follwing events BeforeItemSelected and AfterItemSelected are fired; on our handler, how to ignore these event for the UpdateUI.
You told me to use a flag, so what is this flag?
Thanks,
Vincenzo
You could declare a variable as a flag, in our snippet we use IgnoreEvent variable to determine if the AfterItemSelected should be ignored during UpdateUI event.
var IgnoreEvent = false;function AddRowClientSide() {var wc4 = ISGetObject('WebCombo1');//Add new item in WebComboIgnoreEvent = true;wc4.UpdateUI();IgnoreEvent = false;}function OnAfterItemSelected(ctrlId) {if (!IgnoreEvent) {var combo = ISGetObject(ctrlId);//Do functionality}}
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