Click here to Skip to main content
15,900,907 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Webbrowser control using IE8 Pin
DaveAuld22-Jan-11 4:45
professionalDaveAuld22-Jan-11 4:45 
GeneralRe: Webbrowser control using IE8 Pin
Abhinav S23-Jan-11 17:54
Abhinav S23-Jan-11 17:54 
QuestionVisual Studio 2008 Sp1 Pin
εїзεїзεїз21-Jan-11 19:14
εїзεїзεїз21-Jan-11 19:14 
AnswerRe: Visual Studio 2008 Sp1 Pin
Richard MacCutchan21-Jan-11 22:24
mveRichard MacCutchan21-Jan-11 22:24 
AnswerRe: Visual Studio 2008 Sp1 Pin
T210222-Jan-11 13:18
T210222-Jan-11 13:18 
AnswerRe: Visual Studio 2008 Sp1 Pin
Yusuf25-Jan-11 1:19
Yusuf25-Jan-11 1:19 
QuestionA General Question About DataGrid Controls Pin
Roger Wright20-Jan-11 18:08
professionalRoger Wright20-Jan-11 18:08 
AnswerRe: A General Question About DataGrid Controls Pin
Henry Minute21-Jan-11 5:49
Henry Minute21-Jan-11 5:49 
GeneralRe: A General Question About DataGrid Controls Pin
Roger Wright21-Jan-11 7:04
professionalRoger Wright21-Jan-11 7:04 
GeneralRe: A General Question About DataGrid Controls Pin
Henry Minute21-Jan-11 8:00
Henry Minute21-Jan-11 8:00 
GeneralRe: A General Question About DataGrid Controls Pin
Roger Wright21-Jan-11 17:17
professionalRoger Wright21-Jan-11 17:17 
GeneralRe: A General Question About DataGrid Controls Pin
Gregory Gadow24-Jan-11 17:57
Gregory Gadow24-Jan-11 17:57 
AnswerRe: A General Question About DataGrid Controls [modified] Pin
GenJerDan21-Jan-11 11:29
GenJerDan21-Jan-11 11:29 
GeneralRe: A General Question About DataGrid Controls Pin
Roger Wright21-Jan-11 17:12
professionalRoger Wright21-Jan-11 17:12 
QuestionReusable Lookup Control [modified] Pin
Ed Hill _5_20-Jan-11 0:06
Ed Hill _5_20-Jan-11 0:06 
AnswerRe: Reusable Lookup Control Pin
Ian Shlasko20-Jan-11 6:09
Ian Shlasko20-Jan-11 6:09 
GeneralRe: Reusable Lookup Control Pin
Ed Hill _5_20-Jan-11 22:15
Ed Hill _5_20-Jan-11 22:15 
GeneralRe: Reusable Lookup Control Pin
Ian Shlasko21-Jan-11 3:44
Ian Shlasko21-Jan-11 3:44 
GeneralRe: Reusable Lookup Control Pin
Ed Hill _5_21-Jan-11 1:50
Ed Hill _5_21-Jan-11 1:50 
AnswerRe: Reusable Lookup Control Pin
Ed Hill _5_21-Jan-11 5:58
Ed Hill _5_21-Jan-11 5:58 
Ok think i have solved the issue i was having, wit the lookupnot updating the control it was on, the cause was only scalars automatically trigger a change notification, the solution was adding the following to a partial class.
public partial class Charge
    {
        public Charge()
        {
            this.ActivityReference.AssociationChanged += new System.ComponentModel.CollectionChangeEventHandler(ActivityReference_AssociationChanged);
        }

        void ActivityReference_AssociationChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e)
        {
            if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove))
                OnPropertyChanging("Activity");
            else
                OnPropertyChanged("Activity");
        }
    }


If any one is able to share a best practice way to make the lookup use the same ObjectContext as the Window is using that would be most helpful. I think the line below outlines the situation i am in, and the aim is for the cEntities Context = new cEntities(); from the window to be used in the lookup when popluating the ComboBox.ItemsSource.

Window>Databound List View>Item Template>Lookup User Control
QuestionPlease help on LINQ Order By in VB.NET Pin
kishan NM19-Jan-11 2:30
kishan NM19-Jan-11 2:30 
AnswerRe: Please help on LINQ Order By in VB.NET Pin
Ian Shlasko19-Jan-11 2:48
Ian Shlasko19-Jan-11 2:48 
GeneralRe: Please help on LINQ Order By in VB.NET Pin
kishan NM19-Jan-11 3:52
kishan NM19-Jan-11 3:52 
GeneralRe: Please help on LINQ Order By in VB.NET Pin
Ian Shlasko19-Jan-11 4:40
Ian Shlasko19-Jan-11 4:40 
GeneralRe: Please help on LINQ Order By in VB.NET Pin
kishan NM19-Jan-11 6:53
kishan NM19-Jan-11 6:53 

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.