dropdown list is not working,Giving null exception on controller.

Hi Team,

I have an requirement, based on condition , the drop has to populate.

Example:

I have a drop down list DropDownListEq when we select a value based on some itemdata condition DropDownListType

second dropdown should populate limited values.


So I changed the code but getting null values to controller. Please help me out.


Attachment: New_folder_e8b52a4d.zip

1 Reply

RR Rajapandi Ravi Syncfusion Team October 3, 2022 01:57 PM UTC

Hi Nirithya,


Greetings from Syncfusion support


Based on your query we could see that you like to change the datasource of the dropdown based on another dropdown selection, since your requirement was related to our cascading dropdown feature. You can achieve the Cascading DropDownList with grid Editing by using the Cell Edit Template feature. We have already discussed about your requirement in our documentation. Please refer the below sample and documentation for more information.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/sample736676073.zip


Documentation: https://ej2.syncfusion.com/aspnetcore/documentation/grid/how-to/cascading-drop-down-list-with-grid-editing?cs-save-lang=1&cs-lang=razor


Regards,

Rajapandi R



Loader.
Up arrow icon