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
The LoadValue(true) function will be available in the release hotfix today. The InstantLookup mode will only lookup item when the user leave the textbox, by using the Enter key, LostFocus, or clicking the dropdown icon, it will not be available after every keystroke.
This mode will also solve the fast typer scenario you are having in the earlier post.
I am not sure about the conflict you are having in the LostFocus, perhaps if you could give us the snippet of the function we could help you solve the issue.
Using the northwind.dbml which has already been provided in the WebCombo sample as the Linq to SQL datasource, I have found no problem in in finding apostrophe data. Attached is the simple sample that I used to test this issue. Searching for chef anton's will result in chef anton's Cajun Seasoning autocomplete.
If you have not done so, please use the latest WebCombo 4 and WebUI Framework 3 , which is build 216 and build 704 respectively.
The snippet is for the WebGrid1_ButtonClick in the 4_Glenn.jpg attachment. In this case the ChildKey variable will be RetrieveClientLastSelectedObject KeyValues property.
For the snippet to work, you will also need to use the RestoreExpandedChildRows="true" property in the LayoutSetting
After discussing this matter with the developer, our suggestion for the scenario you are facing is to use the InstantLookup entry mode. This mode will ensure that the AfterItemSelected will be called during Adding or Searching existing item. A sample of InstantLookup mode has been provided on the EntryMode_InstantLookup.aspx page in the WebCombo sample.
Will this be a favorable solution for your scenario?
You could check the Nodes.IsPopulate property to ensure whether the TreeView has completed the loading process. If it has not set the timeout to wait for the TreeView to complete its process. Here is the snippet:
function WebTreeView1_OnInitialize(ctrlId) { AlertNodesAfterComplete(); } function AlertNodesAfterComplete() { var treeview = ISGetObject("WebTreeView1"); if (treeview.Nodes.IsPopulate) { WebTreeView_GetNodes(); WebTreeView_GetArrayNodes(); } else { setTimeout(function() { AlertNodesAfterComplete(); }, 10); } }
I am still inquiring our developer regarding the status of this feature request. I will inform you as soon as I have any update regarding the issue.
Edited 10/23/2009
I just recieved an update from the Developer the feature request is still being worked on, currently I do not have any news on the ETA of this feature. I will inform you if I have have any solid information regarding the release of this feature.
It seems you will need to use timeout function to wait for the WebTreeView to finish the initializing process to retrieve the correct value. In the attached modified sample, I use 500ms timeout to make sure the WebTreeView finish the initializing process before reporting the nodes length.
Here is a simple sample that I has set up to illustrate the scenario you are trying to achieve. In our environment the self reference child table run without any issue.
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