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
Please kindly check my response sent to your registered email account.
Scenario 1
I carefully follow the steps to reproduce the reported problem in my local end by using:
The reported problem is not reproducible in my local end. "resultParameter.Result.ImageData" doesn't contains 0 bytes and the image picker isn't empty.
Please take a look at the attached video, Scenario1OnAndroid502.mp4, which shows the test result.
Scenario 2
I carefully test scenario 2 using the same detail as mentioned above (including the Android emulator) and I was unable to reproduce these problems below:
Please have a look at the attached video, Scenario2OnAndroid502.mp4, and feel free to let me know if there is anything that I might miss during my attempt to reproduce the problem.
... This solution fails in a situation where searched node's grand parent is collapsed but its childrens are expanded. ...
Please check out the snippet of JS function below.
function FindNextNode() { var tv = ISGetObject("WebTreeView1"); var searchText = document.getElementById("txtSearch").value; if(searchText != "") { var node = tv.FindNextNodeByText(searchText); if (node != null) { //node.Select(); node.ExpandHierarchyAndSelect(); node.GetElement().scrollIntoView(); } else alert("The search text can't be found"); } else alert("Please fill in the search text"); }
I use this JS function to search WebTreeViewNode by text. ExpandHierarchyAndSelect() is called instead of invoking the Select() method. This method, ExpandHierarchyAndSelect(), will expands and selects nodes in a hierarchy.
After hierarchy is expanded and node get selected, invoke scrollIntoView() to scrolls the selected node element into the visible area of the browser window.
This should helps.
I can set the text box value in client side of read-only WebCombo by using following snippet code:
function SetText() { var comboCustomers = ISGetObject("WC_Customers"); wc1.SetText("Ana Trujillo"); // set the WebCombo's text // required only for Bound mode, instructs the WebCombo to fetch the Value from server. // this method is required for Bound mode because when a new text is set, // the WebCombo doesn't have the related Value in client side since the data has not been loaded. // this method is not required for Unbound mode. wc1.LoadValue(); }
I created a simple sample of WebCombo with OnShowDropDown client-side event. Each time OnShowDropDown JS function is invoked, it will update dvLog div element and displays: "OnShowDropDown invoked".
OnShowDropDown client-side event of WebCombo specifies the client-side function to be invoked when the result box of a combo is being shown. It will be invoked when:
I enclosed the sample as attachment. Could you please evaluate the sample on your end and let me know if the OnShowDropDown keep invoked until you close the application or not?
Hello Thomas,
The hotfix package for CROS-1060 is now available in NuGet. Based on the recent test on my local end, the reported problem is no longer persist after apply Crosslight 5.0.5000.638.
Please give it a spin and let us know how it works in your end.
Sorry for the delay in sending this.
Here is what I created based on your scenario: JavaScript function is be used to create and show WebDesktopWindow. The WebDesktopWindow will load an image and use iFrame as its ContentMode. The snippet is as follow:
function AddWindow() { var dm = ISGetDesktopManager(); var wnd = dm.GetWindow("wndAboutDM"); if (wnd == null) { wnd = new WebDesktopWindow(); wnd.Name = "wndHTMLPage"; wnd.ContentURL = "../Images/coverflow_images/timesquare.jpg"; wnd.ContentMode = "UseIFrame"; wnd.AllowMinimize = "No"; wnd.AllowMaximize = "No"; dm.Windows.Add(wnd); wnd.Show(); } else { wnd.Activate(); } }
Next, in order to get the dimension of the image (ContentURL of WebDesktopWindow), the image will be appended to a dummy element.
function ResizeWebDesktopWindow(imgSrc, wnd) { var element = document.getElementById("dummyElement"); var elem = document.createElement("img"); elem.src = imgSrc; elem.setAttribute("style", "visibility: collapse;"); elem.addEventListener('load', function () { var imgWidth = this.naturalWidth; var imgHeight = this.naturalHeight; wnd.ResizeTo(imgWidth, imgHeight); }); element.appendChild(elem); }
As you may see, the WebDesktopWindow is now resized based on the size of its content. In this simple case, is an image. Call ResizeWebDesktopWindow function after invoking Show() method, so the AddWindow() function will look like below after modified:
function AddWindow() { var dm = ISGetDesktopManager(); var wnd = dm.GetWindow("wndAboutDM"); if (wnd == null) { wnd = new WebDesktopWindow(); wnd.Text = "HTML Page"; wnd.Name = "wndHTMLPage"; wnd.ControlBoxImage = "is_webdesktop-16.gif"; wnd.ContentURL = "../Images/coverflow_images/timesquare.jpg"; wnd.ContentMode = "UseIFrame"; wnd.AllowMinimize = "No"; wnd.AllowMaximize = "No"; dm.Windows.Add(wnd); wnd.Show(); ResizeWebDesktopWindow("http://mywebsite/Images/coverflow_images/timesquare.jpg", wnd) } else { wnd.Activate(); } }
Hope this helps.
Sorry for the delayed response.
Your concern related to the startup time of Android app created using Crosslight has been forwarded to Crosslight development team. The report is filed under CROS-1130.
I'll keep this thread updated with any news I heard from the team regarding the progress of CROS-1130.
Could you please perform the following and re-test the reported problem?
Look forward to hearing back from you.
Build 24 is now available in WebUI Studio 2016 Update 2 which addressed this issue. Please give it a spin and let us know how it works in your end.
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