When I try to save in an open dialog using the Save command, the parent index.view does not update. However, everything works fine when using the SaveAndClose command. This was tested on the Product object at https://github.com/alex-kukhtin/A2v10.Web.Sample.git. The platform used is A2v10, but unfortunately I am unable to tag yet.
<Dialog xmlns="clr-namespace:A2v10.Xaml;assembly=A2v10.Xaml"
Title="{Bind Product.Id, Format='@[Product] [{0}]'}">
<Dialog.Buttons>
<Button Content="@[SaveAndClose]" Command="{BindCmd SaveAndClose, ValidRequired=True}"/>
<Button Content="@[Save]" Command="{BindCmd Save, ValidRequired=True}"/>
<Button Content="@[Cancel]" Command="{BindCmd Close}"/>
</Dialog.Buttons>
<TabPanel>
<Tab Header="@[General]">
<Grid>
<TextBox Label="@[Name]" Value="{Bind Product.Name}"/>
<TextBox Label="@[BarCode]" Value="{Bind Product.BarCode}" Width="20rem"/>
<TextBox Label="@[Article]" Value="{Bind Product.Article}" Width="20rem"/>
<TextBox Label="@[Memo]" Value="{Bind Product.Memo}" Multiline="True" Rows="3"/>
</Grid>
</Tab>
<Tab Header="@[Images]" Padding="1rem">
<Image Source="{Bind Product.Picture}" Limit="100"
Base="/catalog/product" Height="18rem"/>
</Tab>
</TabPanel>
</Dialog>
PS: Triggered by the Edit command
I try: executing the Save command in an open dialog
I expecting: The parent index.view is update