protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
// If the dynamic populate functionality is being used but
// no target is specified, used the drop down control
if((!String.IsNullOrEmpty(DynamicContextKey)
|| !String.IsNullOrEmpty(DynamicServicePath)
|| !String.IsNullOrEmpty(DynamicServiceMethod))
&& String.IsNullOrEmpty(DynamicControlID))
DynamicControlID = DropDownControlID;
ResolveControlIDs(_onShow);
ResolveControlIDs(_onHide);
}