By using the DataBind syntax we are able to get a result.
BatchType='<%# BatchType %>'
However, as you noted this returns nothing. You need to include code telling the control to databind so that BatchType
will be evaluated:
<% failedClaims.DataBind%>
This may be placed anywhere within your parent usercontrol.