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
30
Issue while using Cascading DropDownLists in RowEditTemplate of UltraWebGrid. Please Help.
posted

Hi,

I'm using Cascading DropDownLists in RowEditTemplate of UltraWebGrid. The "columnkey" attributes for both the dropdowns have been assigned with corresponding column names in the grid. At run-time, initially, the first dropdown has all the values pre-populated, but nothing selected. The second dropdown is empty (nothing populated, nothing selected). Everthing is fine so far.

When the row is being edited, only the first dropdown gets the correct "SelectedValue" same as that of the corresponding grid column's value. The second dropdown does NOT get refreshed/populated based on the first dropdown's new selected value.

But when the user manually selects a different value in the first dropdown, the second dropdown gets refreshed. Also when I explicitly call cascadingDDL_1.SelectedValue = "XYZ" from somewhere in the code-behind, things work as expected - the first dropdown gets the correct value selected and the second one gets refreshed automatically based on "XYZ". Unfortunately, I cannot use this technique since I dont have the callback to the first dropdown's selected value change. Everything is supposed to happen automatically based on "columnkey".

Am I missing anything important ?

Any help is appreciated.

Thanks.

Jai