locked
Populating listbox based on another listbox in Propertygrid RRS feed

  • Question

  • HI,
     
    Could any one please tell how to populate the values on one listbox based on the other dynamically in PropertyGrid. I am not able to get the control of the second listbox until it is explicitly selected in the property grid.

    Eg:
    ListBox1:
    USA
    India

    ListBox:
    If in listbox 1, USA is selected then it listbox the values should be populated as
    mexico
    memphsis

    at the runtime without user clicking on the listbox2.

    else atleast the values in ListBox should be none, so that when the user clicks on listbox2, proper values are populated.

    Thanks,
    Sudhi
    • Moved by Zhi-Xin Ye Wednesday, September 24, 2008 10:47 AM off topic (Moved from .NET Base Class Library to Off-Topic Posts (Do Not Post Here))
    Thursday, September 18, 2008 9:43 AM

Answers

All replies