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
305
UltraWebListbar selected value
posted

Hi,

I am using  UltraWebListbar Version=11.1.20111.2064.

I want to get selected value of clicked item. There is no property to do this.

Please help me on this

Thanks in advance

Parents
No Data
Reply
  • 24671
    posted

    Hi,

    Once you handle the ItemClicked event, the WebListbarItemEvent arguments give you the item in the following way:

    this is the event signature:

     

    public delegate void ItemClickedEventHandler(object sender, WebListbarItemEvent e);

    and here is how you can get the item:

    Item item  = e.Item;

    You can retrieve the text and key of the item by doing:

    string text = item.Text;

    string key = item.Key;

    Hope it helps. Thanks,

    Angel

     

Children