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
210
Getting the 1st Element - Ultracombo
posted

Hi Experts,

How to return only the first element in an ultracombo? If i click the "First Element" Button it should return '1'

Please help me regarding this.

  • 20872
    Suggested Answer
    Offline posted

    Hello,

    It seems that when you click on the Button you want to return the first value of the list. What you can do is to set the following line into your Button click event :

     ultraCombo1.Value = ultraCombo1.DisplayLayout.Rows[0].Cells[0].Value;

    Hope this helps.

    Sincerely,

    Danko Valkov

    Developer Support Engineer

    Infragistics, Inc.