PDA

View Full Version : [CLOSED] Fileupload can't work



gs_user
Jan 16, 2013, 2:03 AM
Hi,
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>

Baidaly
Jan 16, 2013, 2:11 AM
Hello!

Couldn't reproduce your problem. I've tried with latest sources from trunk.5423

gs_user
Jan 16, 2013, 6:47 AM
What is the latest version of dll??
I got the lastest verion was 2.1.0.25729...


Hello!

Couldn't reproduce your problem. I've tried with latest sources from trunk.5423

Daniil
Jan 16, 2013, 7:16 AM
The last numbers in "2.1.0.25729" depends on time when you built the dlls. So, it doesn't tell us about a real version.

Please update from the trunk.
http://svn.ext.net/premium/trunk/