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,
Can show us your table sturcture? For that error, have you checked if the current row might not have a child records? Perhaps, that is causing the issue. So you will need to add some validations to handle that error.
Regards,
Handy
Hello Eric,
Well, I am not sure if you can do this. Since both PC are not the same machine. Even though users succed to import the registry, when they applied it, the design time in visual time would not work. I still suggest you to resolve first by tracking which email that you used.
Regards,Handy
You need to use EditTemplate by editting it in Microsoft Expression Blend. Open the XAML that contains UXGridView grouping. Right Click UXGridView element>>Edit Additional Templates>>EditRowGroupHeaderStyle>>EditCopy. You can see that there are textblocks under RowGroupHeaderContainer. Then save the generate templates and open XAML code. Search for RowGroupHeaderContainer that you just generated.
<StackPanel x:Name="RowGroupHeaderContainer" Grid.Column="3" Margin="0,1,0,1" Orientation="Horizontal" Grid.Row="1" VerticalAlignment="Center"> <TextBlock x:Name="PropertyNameElement" Margin="4,0,0,0" Visibility="{TemplateBinding PropertyNameVisibility}"/> <TextBlock Margin="4,0,0,0" Text="{Binding Name}"/> <TextBlock x:Name="AggregatesElement" Margin="4,0,0,0" Visibility="{TemplateBinding AggregatesVisibility}"/> <TextBlock x:Name="ItemCountElement" Margin="4,0,0,0" Visibility="{TemplateBinding ItemCountVisibility}"/> </StackPanel>
You can discard the item count inside ItemCountElement. Or, you can set visibility collapsed and added your own TextBlock in there. Hope this helps.
Hello,
Unfortunately, it has been removed from our website. However, I think you can still get the installer. Please login into developer network by using email that you used to purchased the product. Under MyComponents>>FullVersion>>See your product list. The link of installer should be there.
Ok. Thank you for the confirmation. I will let you know when it has been fixed.
So, you mean it would not automatically scrollback to the row that you wanted to move, correct?
I have modified my code. No matter you scroll into the area you could not see your current selected row, it will scroll back to the selected row position after you clicked up or down button. Hope this helps.
function Down() { var grid = ISGetObject("WebGrid1"); index = grid.GetSelectedObject().rowIndex; var gridTable = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE); if (index != grid.TotalRows - 1) gridTable.moveRow(index, index + 1); grid.GetSelectedObject().ToRowObject().Select(); } function Up() { var grid = ISGetObject("WebGrid1"); index = grid.GetSelectedObject().rowIndex; var gridTable = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE); if (index != 0) gridTable.moveRow(index, index - 1); grid.GetSelectedObject().ToRowObject().Select(); }
So, the current sample is same as before but only in different browser? Can you try to enable WebGrid in HTML5 mode in safari?
when the user selects middle row in the viewable area of the grid (grid show 10 records. think that user scrolled to see 4 to 14 records.) and clicks on up/down button the selected row will move to the top of the grid and starts moving up/down. I want it to move from the same position.
I am not sure why it moved into the top of grid. It seems it is missing some logic. Please see my code.
It only moves row based on selected row/object. I also found no problem when scrolling and move from middle.
function Down() { var grid = ISGetObject("WebGrid1"); var index = grid.GetSelectedObject().ToRowObject().Position; var gridTable = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE); if (index != grid.TotalRows - 1) gridTable.moveRow(index, index + 1); } function Up() { var grid = ISGetObject("WebGrid1"); var index = grid.GetSelectedObject().ToRowObject().Position; var gridTable = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE); if (index != 0) gridTable.moveRow(index, index - 1); }
As I said before the event might be incorrect. My previous codes works fine. Even though I used only 2 Link WebCombo, when Edit item, WebCombo2 does not show the result based on the first row of WebCombo1.
Please review my attached sample. I bind using dsNorthwind in our WebCombo sample.
We are sorry for the late response. It seems your issue because incorrect binding life cycle. Our binding should be used in IntializeDataSource event. Please try to use your code in correct event.
Sample code:
protected void WebCombo1_InitializeDataSource(object sender, DataSourceEventArgs e) { dsNorthwind.CategoriesDataTable dt = new dsNorthwind.CategoriesDataTable(); dsNorthwindTableAdapters.CategoriesTableAdapter da = new dsNorthwindTableAdapters.CategoriesTableAdapter(); da.Fill(dt); e.DataSource = dt; WebCombo combo = (WebCombo)sender; combo.DataTextField = "CategoryName"; combo.DataValueField = "CategoryID"; combo.LayoutSettings.ComboMode = Mode.MultipleColumns; } protected void WebCombo2_InitializeDataSource(object sender, DataSourceEventArgs e) { dsNorthwind.ProductsDataTable dt = new dsNorthwind.ProductsDataTable(); dsNorthwindTableAdapters.ProductsTableAdapter da = new dsNorthwindTableAdapters.ProductsTableAdapter(); da.Fill(dt); e.DataSource = dt; WebCombo combo = (WebCombo)sender; combo.DataTextField = "ProductName"; combo.DataValueField = "ProductID"; combo.LinkSettings.Enabled = true; combo.LinkSettings.FilterDataMember = "CategoryID"; combo.LinkSettings.ParentWebComboID = "WebCombo1"; combo.LayoutSettings.ComboMode = Mode.MultipleColumns; }
Please let me know your response.
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