or
// If it's the IE browser, we need to encode the filename
if
(HttpContext.Current.Request.UserAgent.IndexOf("; MSIE ") > 0)
{
response.AddHeader(
"Content-Disposition", "attachment; filename=" + HttpUtility.UrlEncode(file.Name));
}
else
{
// if it's anything else, the browser can handle the extended filename
response.AddHeader(
"Content-Disposition", "attachment; filename=" + file.Name);
}
| <telerik:GridButtonColumn ConfirmText="Delete this item?" ConfirmDialogType="RadWindow" |
| ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete" |
| UniqueName="DeleteColumn"> |
| <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" /> |
| </telerik:GridButtonColumn> |
