M
Martin Schmid
I'm trying to create a dynamic image that can be right-clicked and saved by
the user... I've got it all working, except the default filename... The
following works:
Response.AddHeader("Content-Disposition", "inline;filename="+"hi");
I.e., this will cause the default name to be "hi" in my app... however, if I
use:
Response.AddHeader("Content-Disposition", "inline;filename="+someVar);
Where someVar is a string... the default name is always the text "Result"
Any ideas how I can get this to work? I've tried all sorts of string
concatenation.
the user... I've got it all working, except the default filename... The
following works:
Response.AddHeader("Content-Disposition", "inline;filename="+"hi");
I.e., this will cause the default name to be "hi" in my app... however, if I
use:
Response.AddHeader("Content-Disposition", "inline;filename="+someVar);
Where someVar is a string... the default name is always the text "Result"
Any ideas how I can get this to work? I've tried all sorts of string
concatenation.