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 pupolate WebCombo unbound in Javascript without Postback
Scenario:
if length from Inputbox.value is 5 and my Array have more than 1 elemnts
collapse div with ingrated WEBcombo and pupolate it with Array.
Problem:
Webcombo is pupolate with Elements 'undefined' and after click of webcombo-button is the button unvisible.
I have no idea what is wrong !
could you help me?
my code:
//Javascript from Allg_info.js
}
displayDiv(0);
PageMethods.XArray(ctrl.value, CallSuccess, CallFailed, arr1);
arr1 = res.slice(0);
displayDiv(1);
// alert message on some failure
alert(res.get_message());
//collapse DIV
{
rows.Add(newRow);
combo.UpdateUI();
//Javascript from Allg_info.js end
</head><
PLZ:</td>
</div>
</form> </body> </html>
</body> </html>
</html>
VB Code:
<System.Web.Services.WebMethod()> Public Shared Function XArray(ByVal plz As String) As Array
'-----------------------code-----------------------
Return arr
End Function
Hi Amir,
Which part that does not work? I did not change much in your sample. Here, I attached the video and modified sample.
Regards,Handy
Hello,
I will need more time to investigate this issue. Please bare with me.
Thank you.
I would need to have the runable sample to see what undefined error. Do you mean that the button of dropdown after showing the container? If yes, please try to use below code after show the container.
webcombo1.DoResize()
thank you for your replay.
the Problem with dropdown-button is with your help solved thank you!
but still populate webcombo with 'undefined'.
I send you a simple Test code as attachment. if youb type "12345" in inputbox than is webcombo visible and populate with two elements.
("Berlin","Newyork") but you see two elements (undefined,undefined)
thank you for your help.
It shows undefined because you used single column from the combo mode.You should use Multiple columns instead of single column because you already defined a Column which have a cell collection itself.After changed it into multiple columns, it should work fine.
sorry but it dosnt work fine!
i changed to multiple columns but after click on dropdown-button no elements are in Webcombo
have you any idea?
I had the same issue with "undefined" actually showing as the text in my webcombo. I changed to MultipleColumns and now the drop down does nothing. This is integrated in a webgrid. Do you have a sample where the webcombo is integrated into the webgrid and then depending on what is chosen in a cell, the rows in the webcombo are different?
Hello Ryan,
We don't have the similiars sample. However, we do have sample that integrate with WebGrid which runs without issue. To make it quicker, can you send us a simple runablw sample that replicates the issue? We can analyze what cause your issue from there.
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