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
I have two webcombos, the second depends on the first, I want to refresh the data of the second webcombo this javascript code; in the event after selecting item del primer webcombo the first webcombo
function Refresca_combo() // this function refresh the second webcombo
{
wcProyecto.ClearSelection();
wcProyecto.NeedClearList = true;wcProyecto.SendCustomRequest();}but the problem is that the second combo you need an event to refresh the data, for example, write something in the combo and then delete it and so it refreshes the data of the second combo
wcProyecto.SendCustomRequest();
}
but the problem is that the second combo you need an event to refresh the data, for example, write something in the combo and then delete it and so it refreshes the data of the second combo
Hi,
Try in LostFocusAction event.
function WebCombo1_OnLostFocus(controlId) { var WebCombo1 = ISGetObject(controlId); var WebCombo2 = ISGetObject("WebCombo2"); WebCombo2.IsDirty = true; WebCombo2.NeedClearList = true; WebCombo2.Values = null; WebCombo2.ClearSelection(); WebCombo2.RefreshValueItems(); return true; }
I also attached my sample for you as detail.
Regards,Handy
This solved my problem thanks
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