protected override void CreateToolbarExtensions() { base.CreateToolbarExtensions(); region = Widget.Create <LookupEditor>( element: e => e.AppendTo(toolbar.Element) .Attribute("placeholder", "--- " + Q.Text("Db.Northwind.Territory.RegionDescription") + " ---"), options: new LookupEditorOptions { LookupKey = "Northwind.Region" }); region.Change(e => Refresh()); }
protected override void CreateToolbarExtensions() { base.CreateToolbarExtensions(); country = Widget.Create <LookupEditor>( element: e => e.AppendTo(toolbar.Element) .Attribute("placeholder", "--- " + Q.Text("Db.Northwind.Supplier.Country") + " ---"), options: new LookupEditorOptions { LookupKey = "Northwind.SupplierCountry" }); country.Change(e => Refresh()); }