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
50
UltraCombo.Text in UltraGrid gets empty string
posted

I set a column in ultraGrid to ultraCombo. After I edit the text in ultraCombo, I drop down ultraCombo again. UltraCombo has a value on the UI, but the value of ultraCombo.Text is in the BeforeDropDown method is an empty string.

  • 1500
    Offline posted

    Hello Stan,

    Looking at the scenario described, I suppose what could be happening is that the text in the editor does not match the datatype of the list binded as datasource, so once you get the dropdown it just defaults to empty as the value is not accepted.

    Would it be possible to drop a sample code of this so I could test it locally to what could be the reason if not the one above?

    Looking forward to your reply.

    Sincerely,
    Tihomir Tonev
    Associate Software Developer
    Infragistics

     

  • 469350
    Offline posted

    I'm a bit confused. You are using an UltraCombo both in a grid column (as the Editor or perhaps the ValueList of a column) and ALSO as a standalone combo control? 

    Is that correct?