Not setting Sort Order direction causes run time error

I set up some sort orders on the page Load event for my grid but forgot to set a sort direction for one of them.
This was not picked up at design time but causes a runtime error as the sort direction was undefined.


Hi @timt,

Unfortunately we are not sure how to reproduce this. Could you please tell us what steps to follow?

sure, take any page that has a grid for example.
In the page events set a sort order for the grid datasource but leave the direction blank ie "Select sort direction". At runtime in the load event you get an error because the sort direction shows undefined