I'm developing a control that inherits from DataBoundControl. The databinding works but the viewstate is cleared on postback for some reason? I've tried all sorts of solutions like making it implement the ViewStateModeById attribute, but nothing works. Could someone point me in the right direction please?I'm developing a control that inherits from Dat