I have a WebDataGrid where the first field uses a dropdown provider. Whenever the user selects an item from the dropdown, I need to automatically select an item in another dropdown field and set 2 other fields, depending on what was selected. I need to be able to get a record from the database for the selected item to determine what the other fields should be. Is there a way to call a server method when the user selects from a dropdown where I can determine what was selected and be able to set the other fields? If not, what is the best way to accomplish this?
Thanks,
Jeff
Hello Jeff,
Thank you for the details provided. Refer to the link below that will give more details on how to cascade WebDropDown control:
<http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=WebDropDown_Cascading_WebDropDown_Controls.html>
The same approach can be taken from the dropdownprovider.
I hope this helps.
I am not sure how to use the example with a DropDownProvider. How do you specify the ItemsRequested server-side event for the DropDownProvider? Also, I want to set the selected item for one row. Using the example, it would just change the items in the list and it would be for all rows.