Dear Tarus,
Please try the following tested code, it works:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AspxAndCSSeparate.aspx.cs" Inherits="AspxAndCSSeparate" %>
<html xmlns="
http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<CuteWebUI:UploadAttachments ID="UploadAttachments1" runat="server"
onfileuploaded="Uploader_FileUploaded">
</CuteWebUI:UploadAttachments>
</form>
</body>
</html>
AspxAndCSSeparate.aspx.cs:
public partial class AspxAndCSSeparate : System.Web.UI.Page
{
protected void Uploader_FileUploaded(object sender, CuteWebUI.UploaderEventArgs args)
{
//Copys the uploaded file to a new location.
args.CopyTo("c:\\temp\\"+args.FileName);
}
}
Thanks for asking