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,
I try to load WebCombo and next read Value after loading, but no result
function LoadExample(){
//WebCombo1.XmlHttp.Asynchronous = false;
WebCombo1.LoadValue(true); alert(WebCombo1.Value); //<=always empty WHY?
}
It's a copy of help:
Parameters
What's wrong with it ?
Well, it could be. The latest Combo build version is 217 and Framework is 705. Please try to update by using Update manager and apply those into your project bin folder. Please let me know if it works well or not.
Regards,Handy
May i know when you call LoadExample function? I attached my sample. It works fine. I used a button click to SetText and loadvalue. The function shows alert of WebCombo.Value.
Thank you for answer, but (please analyze comments):
combo.SetText("Thomas Hardy", true); // true => text=value combo.LoadValue(
alert(combo.Value); // => alert show the same text as you set (Thomas Hardy), we expected Value='AROUT' not Text
Try to put on the page second button, then click Button1 and next Button2, you get Value='AROUT'
regards
Andrzej
Hi Andrzej,
Could you please recheck again? I got "AROUT" in here. Here is my snippet code, same as before.
function Button1_onclick() { var combo = ISGetObject("WebCombo1"); // combo.XmlHttp.Asynchronous = false; combo.SetText("Thomas Hardy", true); combo.LoadValue(true) alert("value is " + combo.Value); }
Insert additional button like your suggestion also shows "AROUT".
I've just tried and I've got alert with "value is Thomas Hardy"
Maybe it'e a question of my version: Combo: 4.0.7200.214 ; WebUI.Net Frm: 3.0.5000.702 !?
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