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
290
BeforeCellListDropDown doesn't drop down if you refill the list.
posted

I have the following code and I'm wondering why, when I put it into the "BeforeCellListDropDown" the list doesn't drop down.  What is another event that is good to refresh the list before the user see's it?  I'm using .net UserControls and when they go to a different user control and change data there and then come back to the first control I need the drop down to refresh.  If the user changes data in the other user control then the contents of the list will be different.

this.ultraGrid1.DisplayLayout.Bands[0].Columns["Bin"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;
Infragistics.Win.UltraWinGrid.UltraDropDown uddBins = new Infragistics.Win.UltraWinGrid.UltraDropDown();
uddBins.ValueMember = "Bin";
uddBins.DisplayMember = "Bin";
uddBins.DataSource = GetBinListStartingLocation();
this.ultraGrid1.DisplayLayout.Bands[0].Columns["Bin"].ValueList = uddBins;

  • 69832
    Suggested Answer
    Offline posted

    petewall said:
    What is another event that is good to refresh the list before the user see's it?

    You are probably better off using the BeforeEnterEditMode event.