Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
ultrawingrid.UltraCombo.SelectedRow property assignment
posted

I have an UltraWinGrid.UltraCombo control that I am setting the SelectedRow property = a valid(or so it looks to me) UltraWinGrid.UltraGridRow.

Upon setting the property results in the property assigned Nothing (Null).

                Dim JimRow As Infragistics.Win.UltraWinGrid.UltraGridRow = LinqSearch(Me.DisplayMember, txtEntry.Text)
                txtEntry.SelectedRow = JimRow

Upon getting JimRow (which is returning an UltraGridRow) and assigning the .SelectedRow property results in txtEntry.SelectedRow property = Nothing (null).

What, when assigning a value to this property would cause the setter to return Nothing (null)?

Jim

  • 21795
    Offline posted

    Hello Jim,

    Following the steps you suggested I was unable to reproduce the behavior you described. Attached is a small sample I have tested this with. When you click Select 4th Row button in my sample the 4th row gets selected and SelectedRow refers to the 4th row of UltraCombo and is not Nothing.

    Please run my sample at your side and let me know what the result of this is. If you are able to reproduce this behavior with my sample this most probably shows to a difference in versions of Infragistics we are using. Note, I tested this with the latest version of Infragistics for Windows Forms 2017 volume 1. Therefore please let me know which is the version you are using.

    If you are not able to reproduce this behavior with my sample, please try to create a small sample showing this behavior and send it to us. Or, if my sample does not show correctly what you are trying to achieve fill free to modify it and send it back to us for further investigation.

    Looking forward to your reply.

    UltraComboSetSelectedRow_01.zip