Hi I'm stuck in the next situation, I need to open a pdf file which I upload to sever with a radupload, when I ItemCommandEvent fires, I've tried the following code in itemcommand event:
if (e.CommandName == "Ver")
e.Item.Selected = true;
foreach (GridDataItem selectedItem in RGDOCS.SelectedItems)
Session["strUrl"] = selectedItem["ColumnaUrl"].Text;
string Servidor = Request.Url.GetLeftPart(UriPartial.Authority); var fullUrl = Servidor + Session["strUrl"]; var NewProcess = new System.Diagnostics.Process(); NewProcess.StartInfo.FileName = fullUrl; NewProcess.Start();
This code works fine when I'm in localhost, but when I deploy my webapplication doesn't work. Is there any other solution to accomplish this?
Hope you could help me.