|
 |
aspx_beginners thread: Can i user IE 5.0
Message #1 by "Coco Lua Suat Choo" <CocoL@a...> on Fri, 18 Jan 2002 12:12:36 +0800
|
|
i don't know whether this is the problem..but seems can't solve the
problem i have when trying to run a file uploading program on my win95
pc, what version of ie do i need in oreder to view the aspx page
correctly?
Message #2 by Neeta.Ambekar@l... on Fri, 18 Jan 2002 11:11:23 +0530
|
|
windows 2000 professional or advance server with IE5.5 or > version
Message #3 by "Coco Lua Suat Choo" <CocoL@a...> on Fri, 18 Jan 2002 14:03:30 +0800
|
|
do u mean is my pc that calling the aspx, or the server that intsall
the asp.net
-----Original Message-----
From: Neeta.Ambekar@l...
[mailto:Neeta.Ambekar@l...]
Sent: Friday, January 18, 2002 1:41 PM
To: aspx_beginners
Subject: [aspx_beginners] Re: Can i user IE 5.0
windows 2000 professional or advance server with IE5.5 or > version
$subst('Email.Unsub').
Message #4 by Neeta.Ambekar@l... on Fri, 18 Jan 2002 12:25:24 +0530
|
|
server should be either windows 2000 prfessional or advance ... about
calling pages i had tried with IE4 on windows NT ... working fine ....
Message #5 by "Coco Lua Suat Choo" <CocoL@a...> on Fri, 18 Jan 2002 15:10:59 +0800
|
|
but why my file uploading program didn't work when calling it from a
win95 pc, and it works when calling from a w2k pc...
here my code
html>
<head>
<script language=3D"C#" runat=3D"server">
void Button1_Click(object Source, EventArgs e) {
if (Text1.Value =3D=3D null) {
Span1.InnerHtml =3D "Error: you must enter a file name";
Span2.InnerHtml =3D "Test";
return;
}
if (File1.PostedFile !=3D null) {
try {
File1.PostedFile.SaveAs("d:\\inetpub\\wwwroot\\"+Text1.Value);
Span1.InnerHtml =3D "File uploaded successfully to
<b>c:\\temp\\"+Text1.Value+"</b> on the web server";
}
catch (Exception exc) {
Span1.InnerHtml =3D "Error saving file
<b>c:\\temp\\"+Text1.Value+"</b><br>"+ exc.ToString();
}
}
}
</script>
</head>
<body>
<h3><font face=3D"Verdana">HtmlInputFile Sample</font></h3>
<form enctype=3D"multipart/form-data" runat=3D"server">
Select File to Upload: <input id=3D"File1" type=3Dfile
runat=3D"server">
<p>
Save as filename (no path): <input id=3D"Text1" type=3D"text"
runat=3D"server">
<p>
<span id=3DSpan1 runat=3D"server" />
<span id=3DSpan2 runat=3D"server" /><br /><br />
<p>
<input type=3Dbutton id=3D"Button1" value=3D"Upload"
OnServerClick=3D"Button1_Click" runat=3D"server">
</span></span></form>
</body>
</html>
-----Original Message-----
From: Neeta.Ambekar@l...
[mailto:Neeta.Ambekar@l...]
Sent: Friday, January 18, 2002 2:55 PM
To: aspx_beginners
Subject: [aspx_beginners] Re: Can i user IE 5.0
server should be either windows 2000 prfessional or advance ... about
calling pages i had tried with IE4 on windows NT ... working fine ....
$subst('Email.Unsub').
|
|
 |