Re: [2005] GridView Problem
if you need to popup a window I'd use javascript and the client side onClick to call it and pass the info in the querystring to the popup window, that is If you can avoid using a session and postback.
Code:
<script type="text/javascript">
function popup(url){
window.open(url,'',width=450,height=450')
}
</script>
<grid....>
<template....>
<a href="javascript:void(0)" onClick="popup('yourURL.aspx?keyFied=<%#DataBinder.Eval(Container.DataItem, "dataBaseFieldName")%>">Click Me</a>
</template>
Re: [2005] GridView Problem
You can generate the onClick code using the RowDataBound event of the GridView. I prefer it to using inline code.