<script>parent.location.replace('../D_DailyManager/Add.aspx?id=" + x + "');</script>//x为变量
/*
一:在控件后台实现
Response.Write("<script>parent.location.replace('../D_DailyManager/Add.aspx?id=" + x + "');</script>");
二:在js中实现
<script type="text/javascript">
parent.location.replace('../D_DailyManager/Add.aspx?id=" + x + "');
</script>
*/