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
60
Cascading Combos with MVC Helpers (2015.1)
posted

Greetings,

Can anybody point to an example on how to do Cascading combos with MVC Helpers?

Thanks

  • 5105
    Suggested Answer
    Offline posted

    Hey,

    The igCombo currently does not provide cascading combo initialization through the igCombo itself. Implementing a cascading combo setup is very easy: you simply need to handle the selectionChanged event for the combo that will initiate the cascade and then provide the applicable date inside the event handler to the combo that cascades from it. We have samples showing this here:

    http://www.igniteui.com/combo/cascading-combos

    And also here (the 3rd combo cascades from the 2nd one):

    http://www.igniteui.com/combo/editing

    This approach does not allow you to define the cascade within Razor, as the cascade relies on client-side events. After you've initialized your combos in Razor and you've given them IDs, you can select the combos on the client-side and define their cascading logic in a script tag.

    Thank you for using the Infragistics forums!