protected void saveMergedFile(string[] ReportFiles)
{
foreach (string item in ReportFiles)
{
string curFile = @item;
if(!File.Exists(curFile))
Response.Write("<script
language=javascript>alert(curFile +': Report Not
Found');</script>");
}
}
I am getting Microsoft JScript runtime error: 'curFile' is undefined.
How do I pass the value of curFile to the javascript alert?
Thanks for your help.
...
Go to the complete details ...