Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
when i am trying to run this code the file opening and closing automatically. but my requirement is that it has to ask me with a popup window of open,save,cancel buttons to downlaod file.

XML
<html>
<head>
<script language="JavaScript">
function callhere(){
window.open("C:/Downloads/LoginNames.csv");
}
</script>
</head>
<body onload="callhere()">
</body>
</html>


thanks
Amala
Posted

1 solution

You should create a subform in your application. This subform should contain a file upload control and the buttons you require. Call this page in your window.open call and then in the code-behind for your subform handle the upload itself.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900