WPF Finding Selected ComboBox Item Within DataGrid

Hi all... I'm having an issue trying to access the selected item value in a ComboBox within a DataGridTemplateColumn. 
Through another question/answer I have got the ComboBox displaying the names as it should but the next step I'm having issues with is to be able to loop through each row in the DataGrid and determine the selected value of the ComboBox in that row as
well as some other items and run some other code based on those values. 
Any help would be appreciated. 
Thanks,
Greg
<Grid>
<DataGrid x:Name="gvDefaultCWWSchedule" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10,109,10,214" AutoGenerateColumns="False" Grid.Row="0"
AllowDrop="True" IsReadOnly="False" SelectionMode="Single" Background="Beige" CanUserAddRows="False">
<DataGrid.Columns>
<DataGridTemplateColumn Width="150">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<ComboBox Name="ddlUsers"
ItemsSource="{Binding Path=Users}"
DisplayMemberPath="{Binding Name, Mode=TwoWay}"
SelectedValuePath="{Binding Uid, Mode=TwoWay}"
SelectedIndex="{Binding Uid, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
SelectionChanged="ComboBox_SelectionChanged"
>
<ComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Name}" />
</StackPanel>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn Binding="{Binding WeekNumber}" />
</DataGrid.Columns>
</DataGrid>
<Button Content="Button" HorizontalAlignment="Left" Margin="729,32,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click"/>
</Grid>
public partial class Test : Window
public Test()
InitializeComponent();
BindDefaultCWWSchedule();
private void BindDefaultCWWSchedule()
// THIS IS COMING FROM MY DB
List<CurrentUser> UsersFinal = new List<CurrentUser>();
UsersFinal.Add(new CurrentUser { Uid = 1, Name = "JOHN" });
UsersFinal.Add(new CurrentUser { Uid = 2, Name = "BILL" });
UsersFinal.Add(new CurrentUser { Uid = 3, Name = "MARY" });
ObservableCollection<CWWDefaultScheduleWeek> DefaultSchedules = new ObservableCollection<CWWDefaultScheduleWeek>();
DefaultSchedules.Add(new CWWDefaultScheduleWeek { Users = UsersFinal, WeekNumber = 1, SelectedUser = null });
DefaultSchedules.Add(new CWWDefaultScheduleWeek { Users = UsersFinal, WeekNumber = 2, SelectedUser = null });
DefaultSchedules.Add(new CWWDefaultScheduleWeek { Users = UsersFinal, WeekNumber = 3, SelectedUser = null });
DefaultSchedules.Add(new CWWDefaultScheduleWeek { Users = UsersFinal, WeekNumber = 4, SelectedUser = null });
gvDefaultCWWSchedule.ItemsSource = DefaultSchedules;
private void Button_Click(object sender, RoutedEventArgs e)
var rows = gvDefaultCWWSchedule.ItemsSource;
ObservableCollection<CWWDefaultScheduleWeek> CWWSchedAssignments = new ObservableCollection<CWWDefaultScheduleWeek>();
foreach (var row in rows)
CWWDefaultScheduleWeek r = (CWWDefaultScheduleWeek)row;
// FOR EACH ROW HERE I'M WANTING TO CREATE A LIST OF ITEMS AND RUN FURTHER CODE BASED ON IT... ISSUE IS FINDING THE ACTUAL SELECTED USER ON EACH ROW...
CWWSchedAssignments.Add(new CWWDefaultScheduleWeek
Users = r.Users,
SelectedUser = r.SelectedUser,
WeekNumber = r.WeekNumber
private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
gvDefaultCWWSchedule.CommitEdit();
public class CWWDefaultScheduleWeek
public IEnumerable<CurrentUser> Users { get; set; }
public CurrentUser SelectedUser { get; set; }
public int WeekNumber { get; set; }
public class CurrentUser
public int Uid { get; set; }
public string Name { get; set; }

In a way, wpf is similar to web.
More so than windows forms anyhow.
XAML is mark up and flows like html.
You have padding and margin which are rather familiar concepts.
Whereas windows forms is absolute positioning and... well totally different from markup.
You might find this sample interesting as a sort of mvvm taster.
https://gallery.technet.microsoft.com/WPF-Dialler-simulator-d782db17
and event handling equivalents
http://social.technet.microsoft.com/wiki/contents/articles/30564.wpf-uneventful-mvvm.aspx
Note
With a combo you bind the selecteditem to a propfull and then you can put a method call in the setter.  That will then be invoked when the user changes selection.
Good luck and welcome to wpf development.
It's a great technology.
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML

Similar Messages

  • Select combobox item array into different textboxes

    Hi,
    I would like to know  how to array to different textboxes by select item from combobox ?
    Thanks

    Hello,
    I would not do this as shown but instead not have quantity, book or books with price but if that is what you want let's make it easy.
    Hi,
    Thanks for response.
    I get an error 'text' is ReadOnly. Is that any mistake i make ?
    Public Class BookPrice
        Public ReadOnly Property Text As String
            Get
                If Quantity = 0 Then
                    Return "Select Quantity"
                ElseIf Quantity = 1 Then
                    Return Quantity.ToString & " Book " & Price.ToString("C2")
                ElseIf Quantity > 1 Then
                    Return Quantity.ToString & " Books " & Price.ToString("C2")
                Else
                    Return ""
                End If
            End Get
        End Property
        Public Property Quantity As Integer
        Public Property Price As Integer
        Private Sub PopulateCombo()
            Dim BookPrices As New List(Of BookPrice) From
                    New BookPrice With {.Quantity = 0},
                    New BookPrice With {.Price = 10, .Quantity = 1},
                    New BookPrice With {.Price = 20, .Quantity = 2},
                    New BookPrice With {.Price = 30, .Quantity = 3},
                    New BookPrice With {.Price = 40, .Quantity = 4}
            ComboBox1.DisplayMember = "Text"
            ComboBox1.DataSource = BookPrices
            ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
        End Sub
        Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged
            If ComboBox1.SelectedItem IsNot Nothing Then
                Dim CurrentItem As BookPrice = CType(ComboBox1.SelectedItem, BookPrice)
                If CurrentItem.Quantity > 0 Then
                    TextBox1.Text = CurrentItem.Price.ToString("C2")
                Else
                    TextBox1.Text = ""
                End If
            End If
        End Sub
    End Class

  • How to select combobox item?

    hi,
    i have three panels in cover flow diagram and i have one combobox(three items) beside that coverflow diagram.when i click on the first item then i want to display corresponding panel in cover flow diagram similarly remaining items also.
    plz help me how to di this

    You have to use ViewStack control, as
    <ComboBox />
    <ViewStack selectedIndex={cmbBox.selectedIndex} >
         <Panel 1 />
         <Panel 2 />
         <Panel 3 />
    </ViewStack>
    Hope this will help you.
    Thanks.

  • How can I select an item from a list component with a seperate button

    This is a repost, I decided it'd probably be better here than
    in the general discussion board. I will try to delete the other
    one.
    Hello Everyone,
    This is my first post here. I am trying to figure out how to
    select an item within a list component with a button. This button
    is calling a function. I have searched for the past 3 hours online
    and I can't find anything about it. I thought perhaps I could set
    the selectedItem parameter, but that is read only, and I believe it
    returns an object reference rather than something like a number so
    even if i could set it, it would be pointless. I also found a get
    focus button, thought that may lead me somewhere, but I think that
    is for setting which component has focus currently as far as typing
    in and things like that. I am lost.
    Basically I am looking for a way to type this
    myList.setSelected(5); where 5 is the 5th item in the list.
    Any help would be much appreciated.

    Never mind found it. It is the property called selectedIndex
    and it is writable

  • How do I Select Individual Items, Among Many Items, to Edit Database?

    I have many CD's that cover a range of years, in which they were popular; I use the following Genre: "Pop:1970's",Pop: 1980's, Pop:1990's"; I want to select just the "Tracks" from the 1980's, and change the genre from "Rock", to "Pop:1980's", then I want to select "Tracks" from the 1970's, and change the genre from "Rock", to "Pop:1970's"
    Many of the pre-assigned genre is listed as "Rock", and I consider them "Pop" (this is a matter of Individual preference).
    I can't figure out how to select Individual items, within a "Compilation CD" to change just the selected items.

    Try getting out of Grid view and use List or Cover Flow.
    It's easy to change, use the boxes over on the right near the Search oval.

  • Selecting Grouped Items Problem

    In the previoous version of Keynote you could select individual items within grouped sets. By shift-clicking the items. In K6 you can still select one item within a group, but it appears to have lost the ability to select multiple items from different grouped sets.
    Has anyone found a work-around or fix for this?

    Look at the Options Bar. Is Show Bounding Box checked?

  • Items within a mask

    Please return to the ability to select single items within a mask by utilizing the direct select tool even on part of the object outside of the mask frame as with CS3

    For some reason, it removes elements from within the artboard
    The reason depends on specifically how your paths are drawn.
    You should be able to do this:
    1. Position a horizontal guide at the bottom of the Artboard.
    2. Knife Tool: Position cursor outboard of Artboard. Press Alt. Mousedown (snapping to the Guide). ShiftDrag rightward across the bottom of the artwork.
    However, that assumes reliable and accurate Snap behavior across the toolset, which Illustrator's isn't.
    To avoid figuring out all the caveats of Illustrators very poorly implemented boolean path combination features (so-called Pathfinders):
    1. Rectangle Tool. Draw a rectangle outboard of the Artboard, snapping the top of it to the bottom of the Artboard.
    2. Copy.
    3. ShiftClick one of the paths you want to cut.
    4. Click the "punch" (Subtract) Pathfinder (assuming CS5 or CS4; altClick the same Pathfinder in CS3 and prior.)
    5. PasteInFront. Repeat steps 3 & 4.
    JET

  • How do you select individual items from within a group?

    Hi, All.
    New poster. Forgive me if I miss any forum etiquette.
    Currently using Indesing CS6 on Mac Osx 10.7.4
    I'm a relatively recent convert to Indesign from Quark, and one thing I seem to have continual problems with is selecting individual items from within a group.
    For example I will have a grouped item, such as price marker that is comprised of several individual items, some text boxes, some rectangles.
    I find there is no way to select a rectangle that is currently placed behind a transparent text box without ungrouping the entire item - which isn't really an option.
    The select options (slect next item below etc. just don't work)
    For any Quark users out there, the equivalent command I'm looking for is the cmd+opt+shift click through, which just worked absolutely perfectly.
    I have scoured the internet and forums looking for an answer for this, as I assumed it must be my own lack of knowledge, but I can't find an answer.
    Any help much appreciated.
    Thanks

    Hi, winterm.
    Thanks for the super quick repsonse. Unfortunately that hasn't seemed to have helped me.
    That works fine as long as the grouped items are overlapping or apart, but not when items are entirely behind another item (ie, no part protruding from the group)
    The problem is that if I double click to try and get through a text box to an item that is entirely behind it, then it just switches into text edit mode for the top text box.
    If it helps, could you imagine a transparent text box that is 20x20 with red rectangle centred beneath it that is 10x10. If the 2 items are grouped I cant find any way to select through to the red rectangle without first ungrouping the two.
    Am I going mad?

  • I can't seem to open (view) my photos.  I get an error message that says "the file couldn't be opened because you don't have permission to view it. To view or change permission, select the item in the finder and choose File. Get info."

    I can't seem to open (view) my photos.  I get an error message that says "the file couldn't be opened because you don't have permission to view it. To view or change permission, select the item in the finder and choose File. Get info."  I have never had this happen before?  Thanks!

    Try the following:
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - Run Option #1, Repair Permissions.
    OT

  • Could not find selected item matching value "null" in CoreSelectOneRadio

    Hello,
    I get the following error with my selectOneChoice components:
    WARNING Could not find selected item matching value "null" in CoreSelectOneRadio[UIXEditableFacesBeanImpl, id=dyna_2709976_11]
    It seem that the component looks for a selectItem object qith its value set to null, so I tried to add one with a null value to no avail. The error don't cause any problem on the rendered page but it might spam the log when many users will be connected. Anyone every got this error and found a fix to stop it from appearing?
    Regards,
    Simon Lessard

    you said you're using selectOneChoice but the error says radio. Is the information correct?

  • Could not find selected item in LOV

    hi i follow this sample http://www.scribd.com/doc/2633296/ADF-Learning-6-Dependent-List-Boxes ,but when i select my LOV am geting this error FacesCtrlListBinding> <getInputValue> ADFv: Could not find selected item matching value 100 of type: oracle.jbo.domain.Number in the list-of-values.
    am in jdeveloper 11.1.1.6.0

    the data type am selecting is number but displaying employee name my page is,the value 100 is the employeeid is in db
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelHeader text="panelHeader 1" id="ph1">
              <f:facet name="context"/>
              <f:facet name="menuBar"/>
              <f:facet name="toolbar">
                <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
                                  text="CreateInsert"
                                  id="cb1"/>
              </f:facet>
              <f:facet name="legend"/>
              <f:facet name="info"/>
              <af:panelFormLayout id="pfl1">
                <af:inputText value="#{bindings.DepartmentId.inputValue}"
                              label="#{bindings.DepartmentId.hints.label}"
                              required="#{bindings.DepartmentId.hints.mandatory}"
                              columns="#{bindings.DepartmentId.hints.displayWidth}"
                              maximumLength="#{bindings.DepartmentId.hints.precision}"
                              shortDesc="#{bindings.DepartmentId.hints.tooltip}"
                              id="it1" rendered="false">
                  <f:validator binding="#{bindings.DepartmentId.validator}"/>
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.DepartmentId.format}"/>
                </af:inputText>
                <af:inputText value="#{bindings.EmployeeId.inputValue}"
                              label="#{bindings.EmployeeId.hints.label}"
                              required="#{bindings.EmployeeId.hints.mandatory}"
                              columns="#{bindings.EmployeeId.hints.displayWidth}"
                              maximumLength="#{bindings.EmployeeId.hints.precision}"
                              shortDesc="#{bindings.EmployeeId.hints.tooltip}"
                              id="it3" rendered="false">
                  <f:validator binding="#{bindings.EmployeeId.validator}"/>
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.EmployeeId.format}"/>
                </af:inputText>
                <af:inputText value="#{bindings.Password.inputValue}"
                              label="#{bindings.Password.hints.label}"
                              required="#{bindings.Password.hints.mandatory}"
                              columns="#{bindings.Password.hints.displayWidth}"
                              maximumLength="#{bindings.Password.hints.precision}"
                              shortDesc="#{bindings.Password.hints.tooltip}"
                              id="it4">
                  <f:validator binding="#{bindings.Password.validator}"/>
                </af:inputText>
                <af:inputText value="#{bindings.UserId.inputValue}"
                              label="#{bindings.UserId.hints.label}"
                              required="#{bindings.UserId.hints.mandatory}"
                              columns="#{bindings.UserId.hints.displayWidth}"
                              maximumLength="#{bindings.UserId.hints.precision}"
                              shortDesc="#{bindings.UserId.hints.tooltip}" id="it2">
                  <f:validator binding="#{bindings.UserId.validator}"/>
                </af:inputText>
                <af:selectOneChoice value="#{bindings.DepartmentId1.inputValue}"
                                    label="#{bindings.DepartmentId1.label}"
                                    required="#{bindings.DepartmentId1.hints.mandatory}"
                                    shortDesc="#{bindings.DepartmentId1.hints.tooltip}"
                                    id="soc1" autoSubmit="true">
                  <f:selectItems value="#{bindings.DepartmentId1.items}" id="si1"/>
                </af:selectOneChoice>
                <af:selectOneChoice value="#{bindings.EmployeeId1.inputValue}"
                                    label="#{bindings.EmployeeId1.label}"
                                    required="#{bindings.EmployeeId1.hints.mandatory}"
                                    shortDesc="#{bindings.EmployeeId1.hints.tooltip}"
                                    id="soc2" partialTriggers="soc1">
                  <f:selectItems value="#{bindings.EmployeeId1.items}" id="si2"/>
                </af:selectOneChoice>
              </af:panelFormLayout>
            </af:panelHeader>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>my view is
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="VikUserViewObj"
      Version="11.1.1.61.92"
      InheritPersonalization="true"
      SelectList="VikUser.DEPARTMENT_ID,
           VikUser.EMPLOYEE_ID,
           VikUser.PASSWORD,
           VikUser.USER_ID"
      FromList="VIKUSER VikUser"
      BindingStyle="OracleName"
      CustomQuery="false"
      PageIterMode="Full"
      UseGlueCode="false">
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="model.VikUserViewObj_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <EntityUsage
        Name="VikUser"
        Entity="model.VikUser"/>
      <ViewAttribute
        Name="DepartmentId"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="DepartmentId"
        EntityUsage="VikUser"
        AliasName="DEPARTMENT_ID"/>
      <ViewAttribute
        Name="EmployeeId"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="EmployeeId"
        EntityUsage="VikUser"
        AliasName="EMPLOYEE_ID"/>
      <ViewAttribute
        Name="Password"
        PrecisionRule="true"
        EntityAttrName="Password"
        EntityUsage="VikUser"
        AliasName="PASSWORD"/>
      <ViewAttribute
        Name="UserId"
        PrecisionRule="true"
        EntityAttrName="UserId"
        EntityUsage="VikUser"
        AliasName="USER_ID"/>
      <ResourceBundle>
        <PropertiesBundle
          PropertiesFile="model.ModelBundle"/>
      </ResourceBundle>
    </ViewObject>Edited by: user0994 on 2012/10/20 9:07 PM
    Edited by: user0994 on 2012/10/20 9:29 PM
    Edited by: user0994 on 2012/10/20 10:41 PM

  • Could not find selected item matching value "New" warning message in ADF

    Hi,
    I have a selectOneChoice1 for a field which has the following fixed values in it. And while creating it, I selected the 'SelctionRequired' option so that this field will always have a value.
    New
    Pending
    Completed.
    While navigating to this page, I am trying to set the value to 'New' (Retrieved from the DB) in the backing bean. But when the page is rendered, the above field is empty with the above options in the list and jdev has the follwing error message in its log.
    WARNING: Could not find selected item matching value "New" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=selectOneChoice1]
    Can any one help me with this issue?
    Thanks,
    Priya

    The value of a list binding is the zero-based integer position in the list that is selected, not the actual underlying value.
    The simplest way to set the value of an attribute is to use an attribute binding (which can be bound to the same attribute as the list binding). When you set the value of an attribute binding, it sets the value as you supply it. Otherwise, you'd need to set the list binding's value to the numerical "slot" number of the one you want to change the value to.

  • Finding and selecting (ticking) items in one shot in ZSDE_DNP - SAP SD

    Hi all,
    i am new here,
    looking for your supports,
    i have a small issue in the SAP SD module in the ZSDE_DNP screen.
    i want to select only 10 items randomly from around 100 items to process the delivery note, for this i have to first find that item using Ctrl + F and then select (Tick) it.
    is there any thing that i can minimize my steps of finding and selecting particular items in ZSDE_DNP screen.

    Welcome to the forum.  As a new member, I would like to inform you that there are certain rules and regulations applicable to this forum which you can find to your right screen. 
    Coming to your query, the transaction code indicated by you is not a standard one but a customized one.  Hence, please check with your ABAPer on the possibility of what you are expecting.
    G. Lakshmipathi

  • I can not open documents I get a message that says To view or change permissions, select the item in the Finder and choose File Get Info.  help

    I have a mac with os X.  I have saved documents and photos on my computer and am now not able to open them.  I get a message that tells To view or change permissions, select the item in the Finder and choose File > Get Info.  I do that and it is not locked.  confused.  help

    In the Info window it's this:
    Do you have read and write privileges?

  • WPF: How to know the selection is come from datagrid or from ListBox?

    Our application has a page which includes DataGrid and ListBox.
    Both ItemSource are binding to PlateCells.
    public ObservableCollection<CellVM> PlateCells
    public class CellVM : BaseViewModel
    public CellVM(int wellNumber)
    WellNumber = wellNumber;
    Row = wellNumber / define.NumberofWellsInRow;
    Col = wellNumber % define.NumberofWellsInRow;
    // row and col are 0-based
    public int WellNumber { get; set; }
    public int Row { get; set; }
    public int Col { get; set; }
    bool _isSelected;
    public bool IsSelected
    get { return _isSelected; }
    set
    _isSelected = value;
    OnPropertyChanged("IsSelected");
    string _sampleId;
    public string SampleId
    { get { return _sampleId; }
    set
    _sampleId = value;
    OnPropertyChanged("SampleId");
    when a cell is selected, the cell will be highlight in both DataGrid and ListBox.
    We also implement SelectAll button for both DataGrid and ListBox.
    And SelectAll is ToggleButton. First time click is select All cells and second time click, it will unselect All cells.
    What we notice when SelectAll button is click, all cells in both DataGrid and List box  are highlight.
    After that click on a grid any cell, all cells becomes unselected in both DataGrid and ListBox.
     We assume this the behavior from DataGrid, after click SelectAll and click any cell in DataGrid will remove all selection and only highlight one cell in the datagrid.
    However, this is behavior does not happen in ListBox. click any cell in ListBox only unselect that cell and not unselect all cells.
    So we need to know click(selection) is coming from DataGrid or ListBox and take different actions.
    How do we know the click is coming from DataGrid or ListBox? Thx!
    JaneC

    >>How do we know the click is coming from DataGrid or ListBox? Thx!
    It depends on where in the code you want to be able to determine this. In the view model class you cannot really know if the user clicked in the ListBox or in the DataGrid because the view model knows nothing (and shouldn't know either) about any of these
    controls. It only exposes a property that may be set from anywhere.
    Handling the GotFocus event for any or each of the controls seems to be a good solution because then you can take the appropriate action depending on which control was focused/clicked.
    You could of course move the code that is being executed when the GotFocus event occurs, i.e. the code in your event handler, from the code-behind of the view to the view model class by using a command in the view model class and then hook up the GotFocus
    event to this command using event triggers:
    <DataGrid>
    <i:Interaction.Triggers>
    <i:EventTrigger EventName="GotFocus" >
    <i:InvokeCommandAction Command="{Binding YourCommand}" />
    </i:EventTrigger>
    </i:Interaction.Triggers>
    </DataGrid>
    How to do this is a topic of its own though. Please refer to my blog post about how to handle events in MVVM for more information:
    http://blog.magnusmontin.net/2013/06/30/handling-events-in-an-mvvm-wpf-application/. You will need to reference an assembly that is part of the Expression Blend SDK which you can download from here:
    http://www.microsoft.com/en-us/download/details.aspx?id=10801.
    Anyway, as mentioned, handling the GotFocus event seems like a good idea here since you cannot determine which control that was clicked in the setter of the source property in the view model class.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

Maybe you are looking for

  • Releasing codes of  a user for MM

    Hi masters, i have requirment on me29n..when a person creates a purchase orders he ( creater of the PO ) Should not release it. i am implimenting one of the user exits and my concern here is where do i find the releasing codes of this USER who is try

  • Bi Publisher Admin

    Hi, I created a new rpd of SH schema, and I tried to create a new reports in bi publisher from this rpd. But, I couldnt able to create a new folder in shared location and I dont see the admin tab as well, to create a new jdbc connection. Is I am miss

  • Global access configuration file

    is ther any limitation while devolping cgi in 8.2 Message Edited by mazhar.ali on 08-27-2008 09:43 AM

  • Elements 12 (Camera RAW V8.0.0.137) öffnet die RAW-Dateien meiner EOS 70D nicht.

    Elements 12 (Camera RAW V8.0.0.137) öffnet die RAW-Dateien meiner EOS 70D nicht. Wann Update von Camera RAW  verfügbar? Gibt es eine andere Lösung?

  • Cannot change "Local Items" keychain password, menu is greyed out

    I have a Macosx linked to ActiveDirectory. Recently I had to change my AD password, which went fine, apart from the "Local Items" keychain. This keychain kept the old password. So everytime I login I get a few popups for different applications reques