Posted on: 6/12/2014 6:55:07 PM | Views : 429

Hi everybody. I'm new in ASP.NET. Help me anybody, please. Thanks!   I'm trying to open a PDf file.  I did like this:
protected void ASPxGridView1_RowCommand1(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewRowCommandEventArgs e) { if (e.CommandArgs.CommandName == "Open") { Response.Clear(); Response.ContentType = "application/pdf"; Response.AppendHeader("content-disposition", "filename" + e.CommandArgs.CommandArgument); Response.TransmitFile(Server.MapPath("~/Data/") + e.CommandArgs.CommandArgument); Response.End(); } } //here is a button inside ASPxGridView //when user click the Button it must be realy open 
But it does not work

Go to the complete details ...