Jan 16, 2013, 1:03 AM
[CLOSED] Fileupload can't work
Hi,
Update latest Ext.net, the fileupload can not selected file.
please see code.
Update latest Ext.net, the fileupload can not selected file.
please see code.
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Web" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
protected void FileSelected(object sender, DirectEventArgs e)
{
X.Msg.Alert("message", "Upload File!").Show();
}
</script>
<!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">
<script type="text/javascript">
</script>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:FileUploadField ID="BasicField" runat="server" Width="400" Icon="Attach" >
<DirectEvents>
<Change OnEvent="FileSelected">
</Change>
</DirectEvents>
</ext:FileUploadField>
</div>
</form>
</body>
</html>
Last edited by Daniil; Jan 22, 2013 at 4:03 AM.
Reason: [CLOSED]