1.
<a href="javascript:showModalDialog('../TrainingReq/QryTermCourseInfo.aspx?TermCourseID=<%# Eval("termCourseId") %>',window,'dialog800px;dialogheight:700px;help:0;center:yes;resizable:0;status:0;scroll:no');document.getElementById('btnSelect').click();"
title="<%# Eval("courseName") %>">
<%# Getstr(Eval("courseName"),10) %>
</a>