Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

System.Diagnostics.Process not working under modalpopupextender

$
0
0

Hi,

I have tried to open file using System.Diagnostics.Process(filename) and it was working fine on just regular button click but when i tried to use it on the button click which is inside the modalpopupextender, the file is not opening at all. In fact, everything is executing without no error but file is not opening. It just returns back to the modalpopupextender. Any ideas?

The peice of code I used was

 System.Diagnostics.Process proc = new System.Diagnostics.Process();
                proc.StartInfo.FileName = filepathtemp;
                proc.Start();

Which is working fine on regular button click but not on the button inside modalpopupextender. Any other approach to open file ? Files to be opened are (doc, docx,pdf,xls, rtf etc).

Any help or ideas would be appreciated.




Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>