Coffeehouse Thread

5 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

How to autofill?

Back to Forum: Coffeehouse
  • User profile image
    Eigenvector

    I have 3 Combo box in my form, So I want when I select the value in 1 combobox it will automatically poupulate the value in 2 combox.

    Regards

    Eigen

     

  • User profile image
    JoshRoss

    @Eigenvector: Do you have a function that takes the value of the first combo box, and returns the potential values for the second?

  • User profile image
    lensman

    Well, your specifications are quite vague.  What languages are involved? What environment are you operating within?  Is this a Windows Forms application?  Is this a ASP.NET application? Is this a WPF item?  I can think of at least a dozen possible environments which bear on your solution.

    Conceptually you populate combo box #1. You then wire up an event to populate combo box #2 upon change in selection of the contents of Combo box #1.  The same logic can then be extended to the third control and so forth.

    Obviously your choice of tools bears into how you implement your solution.  Certain vendors provide controls with cascading events designed to handle "related" controls (such as Telerik for example). Heck with the right vendor you could be 100% code free.

     

    Have you tried google for your solution?  (Give up on Bing).

     

     

  • User profile image
    JoshRoss

    @Eigenvector: If I were to put you in a movie, it would have to be a Bill Murray movie. I just can't decide if it would be What About Bob or Ground Hog Day.

    -Josh

  • User profile image
    JoshRoss

    , lensman wrote

    Have you tried google for your solution?  (Give up on Bing).

    Better yet, someone put this guy in touch with Beth Massi.

    -Josh

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.