if i go direct from menu and open checkout its appearing properly with template as shown below.

url appears for above as follow
http://localhost:1621/RentACar/CheckOut#RentACar-CheckOut/1
while when i try to open from masterdetail form button its appearing like this

url appears for above as follow
http://localhost:1621/RentACar/Reservation#RentACar-CheckOutEditor/``1
i need editor to load dialog template when i click on masterdetail grid edit link.
when i change checkouteditordialog to checkoutdialog, it start appearing properly in masterdetail editing, but i face another problem.
it cannot find primarykey of parent, while here parent is not present as its new record and is yet to be saved in databse.

hey @saeedahmad101
brother in your checkouteditor.ts
override new checkout button like this
protected getButtons(): Serenity.ToolButton[] {
var buttons = super.getButtons();
buttons[0].onClick = () => {
this.createEntityDialog(this.getItemType(), dlg => {
var dialog = dlg as CheckoutDialog;
dialog.onsave = (opt, callback) => this.save(opt, callback);
var entity = this.getNewEntity() as Row //which contain ReservationID;
so u will get Ur reservationID in entity
dialog.loadEntityAndOpenDialog(entity);
});
}
return buttons;
}
please Check N let me Know ..actually i had same requirement before..
With Kind regards.
Aniket
thankx andy,
after applying your code i get following

this method is not available with Ur CheckoutDialog so comment it .....
it is only available with CheckoutEditorDialog.. n i think u dont want it here..
u cannot refersh memory grid with saved data[mentioned by @volkanceylan ]..
Closing due to inactivity.