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
If you would like to highlight a row initially, you will need to get the HTML element of the row and set the className to the hightlighted style. Here is the update snippet if initially you wish to hightlight the first 3 row:
function WebCombo1_OnShowDropDown(controlId, left, top, width, height) { var combo = ISGetObject(controlId); if (combo.GetSelectedRow() != null) { combo.GetSelectedRow().nextSibling.className = combo.GetSelectedRow().className; combo.GetSelectedRow().nextSibling.nextSibling.className = combo.GetSelectedRow().className; } else { setTimeout(function () { var contElem = combo.ResultBox.document.documentElement; if (!IS.ie) contElem = combo.ResultBox.document.body._e; var rows = contElem.getElementsByTagName("tr"); if (rows.length > 2) { rows[0].className = "WC4-SR"; rows[1].className = "WC4-SR"; rows[2].className = "WC4-SR"; } }, 15); }}
I am using the BindObject.aspx provided sample for my test page.
I just recieve an update on the header misalignment bug report, a fix will be available on the next hotfix release.
I just recieved an update on the bug report, a fix will be available in the next hotfix release.
I have just recieve an update for the horizontal scrollbar bug report, the fix wil be available in the next hotfix release.
I just recieve an update in the bug report, a fix for this issue is scheduled in the next hotfix.
Based on further correspondence in the email, it seems you are trying to programatically set the selected row style to other row in the dropdown result box.
If that is the case, you could modify the row style to have the same css class with the selected row style during OnShowDropDown client side event handler. Here is a simple snippet to highlight the next 2 row below the selected row:
function WebCombo1_OnShowDropDown(controlId, left, top, width, height) { var combo = ISGetObject(controlId); if (combo.GetSelectedRow() != null) { combo.GetSelectedRow().nextSibling.className = combo.GetSelectedRow().className; combo.GetSelectedRow().nextSibling.nextSibling.className = combo.GetSelectedRow().className; }}
However, based on my test if the dropdown result box is scrollable and you scroll using the mouse scroll the selection will revert back to a single selection.
based on my analysis the issue only occur in IE when using XHTML page. A bug report has been submitted for the issue.
In the mean time, since the row is already created but still use none as the display style, you could use a workaround to show the hidden row. You will need to manually set the row display style to "" during LoadGroup AfterResponseProcess event handler, here is the snippet:
function WebGrid1_OnAfterResponseProcess(controlId, actionName, lastRequestObject, xmlResponseObject){ var WebGrid1 = ISGetObject(controlId); if (actionName == "LoadGroup" && IS.IsXHTMLDocType() && IS.ie){ var childRows = WebGrid1.GetSelectedObject().GetRowElement().parentElement.nextSibling.getElementsByTagName("tr"); for (var i = 0; i < childRows.length; i++) { childRows[i].style.display = ""; } } return true;}
I suggest you try command for navigation, as detailed here. You could also read about commanding in more detail here.
If all else fails, you could invoke the Navigate method in the UXFrame which hold the detail page. In the ClientUI_Business_Application Customer page, the snippet to navigate to CustomerDetail page DIEGO would be:
ContactFrame.Navigate(new Uri("/Customers/DIEGO", UriKind.RelativeOrAbsolute));
Did you mean you wish to format the grid row layout using row template as shown in this sample?
As far as I know, GUI formatting is provided when using Expression Blend 4, Visual Studio 2010 GUI formatting is still lacking compared to Expression Blend.
Based on my discussion with the developer, the rowErrors issue has also been fixed.
Using a simple test page in my environment using the latest WebGrid build, invoking PerformBatchUpdate(false, true) will not cause any error and the UI is updated sucessfully.
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