| Ever need to filter a dropdown list bound to a data source at runtime? I thought this was going to be tough, but turns out to be really simple!
If you have a data bound dropdownlist, you can filter the datasource on page load using FilterExpression.
if somelogic = true then
odsContentWithTypeName.FilterExpression = "id in (100, 102, 103)"
'the expression can be just about any where clause
'eg. "typname = 'Test'"