可以从App_Code的代码中弹出对跨框给用户吗?该怎么处理

可以从App_Code的代码中弹出对跨框给用户吗?
我现在在作的一个项目就是:
在后台处理逻辑那里,如果满足一定的条件,那么就需要用户填写一些其他信息的
这样就需要弹出一个对话框来给用户,
问题的关键:要在处理过程中弹出对话框来,这个处理过程是在App_Code的某个类文件.cs或者.vb吧的某段代码,
谢谢,拉,这个问题如果解决不了,那就挂了,

------解决方案--------------------
还是返回信息再判断吧

层次分明嘛
------解决方案--------------------
solve it by javascript ,such as the example of glamorsunny(魅力阳光).
------解决方案--------------------

System.Web.HttpContext.Current.Reponse.Write( " <script> alert( 'Deleting? '); </script> ");
------解决方案--------------------
也可以在类方法里使用这样的方法
public void Alert(System.Web.UI.Page page,string msg)
{
page.RegisterClientScriptBlock( "js ", " <script> alert( ' "+msg+ " ') </script> ");
}
------解决方案--------------------
Reponse.Write 会白屏

RegisterClientScriptBlock不会白屏

自己选
------解决方案--------------------
if you are careful,you will found that.some bbs use "alert() " to show a dialog to user,such as response of csdn 's download,and bbs of qq news .
so you should choose a useful and easy method,not a method which is used to show your ability !
------解决方案--------------------
我试过了,是不行的,还是想办法转移到别的地方去实现此功能吧