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 Handy
I think, here is an other bug in ResourceOverride. See attached picture.
Regards
Michael
Hi Yudi
Thanks for excellent support!
I have skipped the first three steps, because I've bound the command directly to the UXGridView (see last line of code). It works fine.
<Intersoft:UXGridView Intersoft:DockPanel.IsFillElement="True" AutoGenerateColumns="False" Style="{StaticResource UXGridViewStyle}" IsBusy="{Binding IsBusy, Mode=TwoWay}" IsRefreshed="{Binding IsRefreshed, Mode=TwoWay}" SortDescriptors="{Binding QueryDescriptor.SortDescriptors, Mode=TwoWay}" PageDescriptor="{Binding QueryDescriptor.PageDescriptor}" FilterDescriptors="{Binding QueryDescriptor.FilterDescriptors, Mode=TwoWay}" PageSize="{Binding ElementName=PageSize, Path=Text}" ItemsSource="{Binding Path=Items}" SelectedItem="{Binding SelectedItem, Mode=TwoWay}" NewItem="{Binding NewItem, Mode=TwoWay}" HasChanges="{Binding HasChanges}" AutoEditOperation="{Binding AutoEditOperation}" PrepareNewRowCommand="{Binding PrepareNewRowCommand}" ValidateRowCommand="{Binding ValidateRowCommand}" InsertRowCommand="{Binding InsertRowCommand}" DeleteRowCommand="{Binding DeleteRowCommand}" UpdateCellCommand="{Binding UpdateCellCommand}" UpdateRowCommand="{Binding UpdateRowCommand}" SaveChangesCommand="{Binding SaveChangesCommand}" RejectRowCommand="{Binding RejectRowCommand}" RejectChangesCommand="{Binding RejectChangesCommand}" RefreshCommand="{Binding RefreshCommand}">
Hi
<Intersoft:UXStatusBarItem> <Intersoft:UXFlatButton Command="core:DataViewCommands.Refresh" Icon="/Intersoft.Client.UI.Data;component/Resources/refresh.png" Style="{StaticResource CommandButtonStyle}"/> </Intersoft:UXStatusBarItem>
This command is overridden with UXGridView refresh command? I had thought it would run both commands...
Hi Martin
It very cool - the name of the display attribute is now displayed as a header! It is possible to use the Description, e.g. as ToolTipText? I have found no way...
[Display(Name = "Hide Property", Order = 3, Description = "If the User should not see this than check it.")] public bool Hide { get; set; }
Yes, I have seen that UXGridView refresh command is not bind. But if I click on refreshbutton, a request is running (see my first post). Can I not use this query directly? Run the query twice after?
I want localizing UXGridView textual content (show here at the bottom). Try the following code and see how contextmenu is shown in edit mode (see pic in my first post).
<Intersoft:UXGridView.ResourceOverride> <Intersoft:UXGridViewResource ContextMenu_Cancel="ContextMenu_Cancel_EN" ContextMenu_Update="ContextMenu_Update_EN" /> </Intersoft:UXGridView.ResourceOverride>
I haven't found a textual content for integrated Pager (Page x of y).
Thanks for very helpful sample! For all with the same problem. I've implemented it like this:
Changes in EditableGridViewModelGenericBase.cs
public EditableGridViewModelBase() : base() { // Batch update is not supported in WCF RIA Services. this.IsBatchUpdate = false; this.AutoEditOperation = false; this.DeleteRowCommand = new DelegateCommand(ExecuteDeleteRow); ... this.DuplicateRowCommand = new DelegateCommand(ExecuteDuplicateRow); } public DelegateCommand DuplicateRowCommand { get; set; } protected virtual void ExecuteDuplicateRow(object parameter) { this.EditableProductsSource.Insert(parameter as T); if (!this.IsBatchUpdate) this.SaveChanges(); else this.HasChanges = true; }
Changes in *ViewModel.cs
protected override void ExecuteDuplicateRow(object parameter) { Person currentPerson = parameter as Person; Person duplicatePerson = new Person(); duplicatePerson.ID = System.Guid.Empty; //.NewGuid(); duplicatePerson.Name = currentPerson.Name + " - Copy"; duplicatePerson.Vorname = currentPerson.Vorname; base.ExecuteDuplicateRow(duplicatePerson); }
Thanks for the information.I have tested your instructions on the product page. It did work! Much better - I couldn't see this limitation when I've not saved the changes before I navigate to page 2 (and back).
The problem is, that the changes are not colour marked, such as the WebGrid. That is why I will not use the BatchUpdate. Thank you anyway.
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