Hi.
I have a RadGridButton column
I have a RadGridButton column
<
telerik:GridButtonColumn CommandName="print" Text="Print" UniqueName="Print" ButtonType="PushButton">
</telerik:GridButtonColumn>
and in event handling of the Command I want to do this:
void
RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
if (e.CommandName == "print")
{
.
.
.
System.Diagnostics.Process.Start(Server.MapPath("App_data\\print.doc"));
}
Problem is that Word document won't open.
I put a test button on the same ASP page(outside of RadGrid) and handled Click event with calling to System.diagnostic.process.start as above. It works and opens Word document. So The question is: why RadGrid button cannot handle call to open word document?
Thank you in advance