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
...We downloaded it but not able to install it. It looks that downlodable setup is corrupt and throwing error when installing.
I download and run the web-setup of Intersoft Studio 2015 R1, intersoftstudio2015web.exe, and was unable to reproduce the reported problem. The setup completed without any issues.
Could you please provide more information about the setup problem? For example: a video or screenshot which shows the error when installing.
The video or screenshot will helps a lot to investigate the problem further. Thank you and have a nice day.
On Selection of ProductName need to autofeel 10 and some custom Text in QuantityPerUnit new row's cell.
You can try to use these approaches for such scenario.
First option: to use OnExitEditMode of WebGrid.
OnExitEditMode client-side event of WebGrid specifies the client side (JavaScript) function that will be invoked when edit mode is being ended. Add following snippet code in OnExitEditMode will auto fill string to QuantityPerUnit cell.
function WebGrid1_OnExitEditMode(controlId, tblName, editObject) { var WebGrid1 = ISGetObject(controlId); var editObjValue = editObject.element.Value; if (editObject.element.Name == "WebComboProducts" && editObjValue == "1") { var selObj = WebGrid1.GetSelectedObject(); var cell = selObj.ToRowObject().GetCells(); cell.GetNamedItem("QuantityPerUnit").SetText("10 and some custom text", true); cell.GetNamedItem("QuantityPerUnit").SetValue("10 and some custom text"); } return true; }
Another option is to use OnAfterItemSelected client-side event of WebCombo, in this case is the WebComboProducts.
OnAfterItemSelected client-side event of WebCombo specifies the client side (JavaScript) function that will be invoked after an item is selected. The following is the example on how to set text and value of QuantityPerUnit cell in WebGrid after an item of ProductsCombo is selected.
function WebComboProducts_OnAfterItemSelected(controlId) { var combo = ISGetObject(controlId); var grid = ISGetObject("WebGrid1"); var row = grid.GetSelectedObject().GetRowObject(); if (combo.Text == "Chai") { var cells = row.GetCells(); var cellQuantityPerUnit = cells.GetNamedItem("QuantityPerUnit"); cellQuantityPerUnit.SetText("10 and some custom text", true); cellQuantityPerUnit.SetText("10 and some custom text"); } return true; }
Hope this help.
Thank you for taking the time to prepare the sample.
The reported problem is reproducible using the sample. I got the issue resolved by applying the latest build of WebCombo 6 (6.0.7200.260) and WebUI.NET Framework 3.0 (3.0.5000.917).
The screenshot below shows the result in my end.
Please update the following assembly files
and let me know whether it helps or not.
Thank you for the sent sample.
I’m currently investigating the sample and will get back to you as soon as possible.
Edited on November 2, 2015 6:35 AMReason: Update solution
If I try to select SupplierId first then ProductName shows empty rows.
The ProductName combo shows empty rows because it was filtered by a white space. Please allow me to show where the "white space" is.
By default, WebCombo will filter its items based on the character typed or entered in the texbox. The result will be shown in the ResultBoxWindow of WebCombo.
It shows empty rows because there is a white-space in the textbox. "Starts with" empty-space is applied to the WebCombo items. It shows empty rows because the filter results is null. No rows match after the filter applied, in this case is "Starts with" empty-space.
Please follow the steps below in order to resolve this white-space problem:
After the changes, the code will look like following snippet code:
protected void WebGrid1_PrepareDataBinding(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e) { //WebGrid grid = (WebGrid)sender; if (!IsPostBack) { //WebGrid1.ClearCachedDataSource(); WebGrid1.RetrieveStructure(); if (WebGrid1.RootTable.Columns.Exists("SupplierID")) { WebGrid1.RootTable.Columns.GetNamedItem("SupplierID").EditType = EditType.WebComboNET; WebGrid1.RootTable.Columns.GetNamedItem("SupplierID").WebComboID = "WebComboSuppliers"; WebGrid1.RootTable.Columns.GetNamedItem("SupplierID").FilterEditType = FilterEditType.TextBox; WebGrid1.RootTable.Columns.GetNamedItem("SupplierID").DefaultText = string.Empty; WebGrid1.RootTable.Columns.GetNamedItem("SupplierID").DefaultValue = string.Empty; //WebComboSuppliers.Visible = true; } if (WebGrid1.RootTable.Columns.Exists("ProductName")) { WebGrid1.RootTable.Columns.GetNamedItem("ProductName").EditType = EditType.WebComboNET; WebGrid1.RootTable.Columns.GetNamedItem("ProductName").WebComboID = "WebComboProducts"; WebGrid1.RootTable.Columns.GetNamedItem("ProductName").FilterEditType = FilterEditType.TextBox; WebGrid1.RootTable.Columns.GetNamedItem("ProductName").DefaultText = string.Empty; WebGrid1.RootTable.Columns.GetNamedItem("ProductName").DefaultValue = string.Empty; //WebComboSuppliers.Visible = true; } WebGrid1.RootTable.Columns.GetNamedItem("ProductID").Visible = false; } }
Please feel free to let me know if you have different result.
Once the selection from both combo is done then I can only change data after deleting the text inside otherwise in list only selected text is shown.
This is not bug. By default, WebCombo will show only one value after you input a text such as Maria. However, you can show all rows on dropdown by enabling AlwaysShowAllRowsOnDropdown property of WebCombo. This property Determines whether or not to display all rows when dropdown arrow is clicked.
To always show all rows on dropdown combo
Hope this helps.
From the screenshot, capture.png, I assume that:
Set the Height property of HeaderStyle to a bigger size should help resolve the layout problem.
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" ...> <RootTable DataKeyField="CustomerID" DataMember="Customers" TableHeaderVisible="true"> <Columns> ... </Columns> </RootTable> <LayoutSettings AllowFilter="Yes" AllowDefaultStyleMerging="true"> <HeaderStyle Height="60px" /> </LayoutSettings> </ISWebGrid:WebGrid>
Please let me know whether this helps or not.
It would be nice if you post the JS exception problem in a new thread since it is a different topic and doesn't have any relation to this grid hiding issue.
I have investigated the report and found that the problem is not reproducible. Will let you know the detail result on your new thread which discuss about the JS exception in Safari.js file when configure the application in https.
Glad to hear that the snippet code helps to resolve the problem - WebGrid edit box misplaced when browser's window is scrolled.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.
... We are facing the below error in google chrome browser.Uncaught RangeError: Maximum call stack size exceeded in Safari.js file.This happens when we configure the application in https in IIS as website...
... We are facing the below error in google chrome browser.
Uncaught RangeError: Maximum call stack size exceeded in Safari.js file.
This happens when we configure the application in https in IIS as website...
Does the above problem related with the problem discussed in this thread, Webcombo Hides a Grid component in the Page? Or is it a different topic?
Please let me know your response so that I can assist you further.
I was using "OnInitializeDataSource" and "OnPrepareDataBinding" events for declartive columns in aspx page. Once I removed both events and bind grid on page load , it starts working. I believe that I can bind grid on "OnInitializeDataSource" event by using columns setting in event also.
Before we go further with the link WebCombo as WebGrid's editor questions, I'd like to straighten out few things first. Yes, you are correct. You can bind grid on OnInitializeDataSource event. Removing data source assignment from OnInitializeDataSource to Page_Load event similar to manually populate WebGrid row (instead of binding it to a data source) means that the Grid is operating in unbound mode. Please note that when WebGrid is operating in unbound mode, all data-bound features – such as sorting, grouping, exporting, etc – should not be enabled.
BindtoTraditionalDataSource sample of WebGrid shows the usage of OnInitializeDataSource and OnPrepareDataBinding server-side event. Hope this helps.
The combo and grid works fine in Firefox. Thank you for resolving the issue.
Glad to hear the good news.
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