or
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %> <!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> <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <script type="text/javascript"> function showWindow() { var proWindow = $find('<%= xW.ClientID %>'); proWindow.set_navigateUrl('http://www.telerik.com'); proWindow.set_title('My Window Title'); window.setTimeout(function () { proWindow.show(); proWindow.setActive(true); }, 0); return false; } </script> <div> <telerik:RadWindowManager ID="wM" runat="server" Overlay="true" ReloadOnShow="false" VisibleStatusbar="false" VisibleOnPageLoad="false" ShowContentDuringLoad="false" > <Windows> <telerik:RadWindow ID="xW" runat="server" VisibleTitlebar="true" EnableViewState="false" Behaviors="Move,Close,Maximize" ReloadOnShow="true" Modal="true" InitialBehaviors="Maximize" > </telerik:RadWindow> </Windows> </telerik:RadWindowManager> <asp:LinkButton ID="btnShow" Text="Show Maximized Window" runat="server" OnClientClick="return showWindow();" /> </div> </form> </body> </html>Hi,
Is it possible to delete the file from the source folder after the file is uploaded? For example, if I am uploading the file File1.txt from my local drive C:\Temp\File1.txt, how do I delete the file(File1.txt) from C:\Temp\ directory after the upload?
Thanks.
Wilson
<ClientSettings><Scrolling UseStaticHeaders="true" AllowScroll="true" ScrollHeight="394px" SaveScrollPosition="true" /></ClientSettings><telerik:RadComboBox ID="SearchCountry" MarkFirstMatch="True" TabIndex="5" style="z-index: 9000;" Width="200px" EnableEmbeddedSkins="true" Skin="Sitefinity" runat="server" Height="150px" OnClientSelectedIndexChanging="aLoadSearchStateProv">Dim reader As SqlDataReader = cmd.ExecuteReader()Do While reader.Read() RCBI = New RadComboBoxItem() RCBI.Text = Convert.ToString(reader(sFieldToPopulate)) RCBI.Value = reader("CodeList") If oValueToMatch = RCBI.Value Then RCBI.Selected = True End If RadComboBox1.Items.Add(RCBI)Loopreader.Close()reader = Nothing