I have an Ultrawebgrid with a valuelist column called WorkCategory (statically loaded with values at Page_Load).
When the user selects a value for WorkCategory (captured at AfterCellUpdated event), a second ValueList called WorkSubCategory is created and loaded on the following cell, based on the WorkCategory valuelist's selected value and populated for the user to also select.
When the grid is loaded, while the WorkSubCategory column values are displayed correctly, when clicking on the cells themselves to choose another value, no valuelist dropdown is shown, because this is not created until the WorkCategory dropdownlist changes value. This is frustrating for the users, because if they want to change the work sub category, they have to first change work category to another value, then change it back to the desired value, and then access the drop down list on the Work Sub Category column.
What I would like to do is to have both value lists loaded and available at *page_load*, so as to enable editing of the WorkSubCategory valuelist without having to change the WorkCategory column's value first. I have tried to do that in code-behind in method called on Page_Load; while the grid loads ok, clicking on the WorkSubCategory column throws a nasty javascript exception.
Any ideas on how this can be achieved? Which event should I hook this up to?