Hi,

I have a Store which a ComboBox is bound to. I load the store on every postback to ensure the ComboBox always has items in it.


if (!Ext.IsAjaxRequest)
{
            storeWorkOrders.DataSource = JMSWorkOrderController.GetWorkOrders(ddJobId.SelectedItem.Value);
            storeWorkOrders.DataBind();
}
I have an issue when I want to clear the Store and the ComboBox. The code above runs first and binds then the code below runs but I can't unbind the store and the store is always bound with values.

protected void btnClear_Click(object sender, EventArgs e)
{
            storeWorkOrders.RemoveAll();
            ddStore.ClearValue();
}
The remove all doesn't clear the items and if I try and set the DataSource = null then I get an error. Is there a way of unbinding the datasource?