Click here to Skip to main content
15,890,512 members
Home / Discussions / WPF
   

WPF

 
QuestionTreeViewItem and opening a modal dialog from the contextmenu (Properties) [modified] Pin
Diving Flo13-Apr-10 3:30
Diving Flo13-Apr-10 3:30 
GeneralRe: TreeViewItem and opening a modal dialog from the contextmenu (Properties) Pin
Diving Flo13-Apr-10 20:28
Diving Flo13-Apr-10 20:28 
AnswerRe: TreeViewItem and opening a modal dialog from the contextmenu (Properties) Pin
Diving Flo14-Apr-10 23:23
Diving Flo14-Apr-10 23:23 
QuestionOpen window in New browser window Pin
Tripathi Swati13-Apr-10 0:38
Tripathi Swati13-Apr-10 0:38 
AnswerRe: Open window in New browser window Pin
Abhinav S13-Apr-10 5:52
Abhinav S13-Apr-10 5:52 
GeneralRe: Open window in New browser window Pin
Tripathi Swati15-Apr-10 21:00
Tripathi Swati15-Apr-10 21:00 
QuestionPhilosophical question on MVVM lookups and practical one on entity fields.... Pin
RichardGrimmer12-Apr-10 23:57
RichardGrimmer12-Apr-10 23:57 
AnswerRe: Philosophical question on MVVM lookups and practical one on entity fields.... Pin
Abhinav S13-Apr-10 5:51
Abhinav S13-Apr-10 5:51 
RichardGrimmer wrote:
My question is how / at which point should we be getting the items to fill these drop downs. As it stands, when we return the "record" to be edited (see next question also), we're also returning all of the lookup lists and binding at that point - is this the "de-rigeur" way of doing it, or should we be making multiple calls - one for the data, one for the lookups?


I always feel that this depends on 1) how much data do expect to be returned on an average scenario 2) how you expect your application to be deployed - making multiple calls to different web services is not always a good idea - but if you are going to deploy your application on a intranet, I would say it would also not be a huge performance hit. After all, you will be making async calls, anyway.


RichardGrimmer wrote:
Secondly, our view model currently contains an entity field, which we're using to bind to controls via a binding Path - something like {Binding Path=Customer.Name}. Now the entity class (Customer) implements INotifyPropertyChanged, and when one of (For example), my text fields change, the entity itself correctly updates and fires PropertyChanged event, but the ViewModel appears not to pick this up. The problem is that I need to intercept the change (or at least know that it's happened) at the ViewModel to requery some CanExecutes for commands. The only way around it I can see is to expose a filed per field on the form as separate properties, and then munge them together into


Are you using two-way binding?
GeneralRe: Philosophical question on MVVM lookups and practical one on entity fields.... Pin
RichardGrimmer13-Apr-10 9:05
RichardGrimmer13-Apr-10 9:05 
GeneralRe: Philosophical question on MVVM lookups and practical one on entity fields.... Pin
Abhinav S13-Apr-10 18:31
Abhinav S13-Apr-10 18:31 
GeneralRe: Philosophical question on MVVM lookups and practical one on entity fields.... Pin
RichardGrimmer13-Apr-10 21:30
RichardGrimmer13-Apr-10 21:30 
QuestionSelecting an item as per value in combobox in wpf Pin
dashingsidds12-Apr-10 22:50
dashingsidds12-Apr-10 22:50 
AnswerRe: Selecting an item as per value in combobox in wpf Pin
Arun Jacob12-Apr-10 22:58
Arun Jacob12-Apr-10 22:58 
GeneralRe: Selecting an item as per value in combobox in wpf [modified] Pin
dashingsidds12-Apr-10 23:26
dashingsidds12-Apr-10 23:26 
AnswerRe: Selecting an item as per value in combobox in wpf Pin
Arun Jacob12-Apr-10 23:30
Arun Jacob12-Apr-10 23:30 
GeneralRe: Selecting an item as per value in combobox in wpf Pin
dashingsidds12-Apr-10 23:41
dashingsidds12-Apr-10 23:41 
GeneralRe: Selecting an item as per value in combobox in wpf Pin
Arun Jacob12-Apr-10 23:47
Arun Jacob12-Apr-10 23:47 
AnswerRe: Selecting an item as per value in combobox in wpf Pin
Sunil Scaria12-Apr-10 23:15
Sunil Scaria12-Apr-10 23:15 
GeneralRe: Selecting an item as per value in combobox in wpf Pin
dashingsidds12-Apr-10 23:28
dashingsidds12-Apr-10 23:28 
GeneralRe: Selecting an item as per value in combobox in wpf Pin
Sunil Scaria12-Apr-10 23:34
Sunil Scaria12-Apr-10 23:34 
GeneralRe: Selecting an item as per value in combobox in wpf Pin
dashingsidds12-Apr-10 23:44
dashingsidds12-Apr-10 23:44 
QuestionAccessing a WPF object inside a class Pin
Prasoon Chaudhary12-Apr-10 20:44
Prasoon Chaudhary12-Apr-10 20:44 
AnswerRe: Accessing a WPF object inside a class Pin
Arun Jacob12-Apr-10 23:34
Arun Jacob12-Apr-10 23:34 
GeneralRe: Accessing a WPF object inside a class Pin
Prasoon Chaudhary12-Apr-10 23:40
Prasoon Chaudhary12-Apr-10 23:40 
AnswerRe: Accessing a WPF object inside a class Pin
Arun Jacob12-Apr-10 23:46
Arun Jacob12-Apr-10 23:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.