or

string url, path = ""; bool isExport = false; protected void Page_Load(object sender, EventArgs e) { url = String.Format("~/{0}.pdf", RadGrid1.ExportSettings.FileName); path = Server.MapPath(url); }protected void RadGrid1_GridExporting(object source, GridExportingArgs e) { if (File.Exists(path)) { File.Delete(path); } using (FileStream fs = File.Create(path)) { Byte[] info = System.Text.Encoding.Default.GetBytes(e.ExportOutput); fs.Write(info, 0, info.Length); } Response.Redirect("~/frm_UploadDocs.aspx"); } protected void RadToolBar1_ButtonClick(object sender, RadToolBarEventArgs e) { if (e.Item.Value == "Export") { //RadGrid1.ExportSettings.ExportOnlyData = false; isExport = true; RadGrid1.MasterTableView.ExportToPdf(); } else if (e.Item.Value == "Delete") { if (File.Exists(path)) { File.Delete(path); } } }<telerik:RadTabStrip ID="RadTabStrip1" runat="server" EnableDragToReorder="true" > <TabTemplate> <div class="CloseIcon"> </div> <div class="TabWrapperRight"> <%# DataBinder.Eval(Container, "Text") %> </div> </TabTemplate></telerik:RadTabStrip>.CloseIcon{ width: 13px; height: 11px; background:url("/Images/Icons/close.png") 0 0; margin: 4px 0px 0px 25px;}
.CloseIcon:hover
{
background:url("/Images/Icons/close.png") 0 -11px;
}
.TabWrapperRight
{
position:relative;
float:right;
}
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TestRadSplitter.aspx.vb" Inherits="WebwareNET.TestRadSplitter" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <div> <telerik:RadSplitter ID="RadSplitter1" Width="100%" Height="100%" Orientation="Vertical" LiveResize="True" runat="server" Skin="MetroTouch"> <telerik:RadPane ID="LeftPane" MinWidth="200" Width="200" Scrolling="None" runat="server"> Inside left pane </telerik:RadPane> <telerik:RadSplitBar ID="RadSplitBar1" runat="server"> </telerik:RadSplitBar> <telerik:RadPane ID="RightPane" Scrolling="Both" runat="server"> Inside right pane </telerik:RadPane> </telerik:RadSplitter> </div> </form></body></html>