Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputFile.cs')
-rwxr-xr-xmcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputFile.cs71
1 files changed, 0 insertions, 71 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputFile.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputFile.cs
deleted file mode 100755
index b0e4710db6a..00000000000
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputFile.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-/* System.Web.UI.HtmlControls
-* Authors
-* Leen Toelen (toelen@hotmail.com)
-*/
-
-using System;
-using System.Web;
-using System.Web.UI;
-using System.Globalization;
-using System.Collections.Specialized;
-
-namespace System.Web.UI.HtmlControls{
-
- public class HtmlInputFile : HtmlInputControl, IPostBackDataHandler{
-
- public HtmlInputFile():base("file"){}
-
- public virtual bool LoadPostData(string postDataKey, NameValueCollection postCollection){
- string postValue = postCollection[postDataKey];
- if (postValue != null)
- Value = postValue;
- return false;
- }
-
- public virtual void RaisePostDataChangedEvent(){}
-
- public string Accept{
- get{
- string attr = Attributes["accept"];
- if (attr != null)
- return attr;
- return String.Empty;
- }
- set{
- Attributes["accept"] = AttributeToString(value);
- }
- }
-
- public int MaxLength{
- get{
- string attr = Attributes["maxlength"];
- if (attr != null)
- return Int32.Parse(attr, CultureInfo.InvariantCulture);
- return -1;
- }
- set{
- Attributes["accept"] = AttributeToString(value);
- }
- }
-
- public int Size{
- get{
- string attr = Attributes["size"];
- if (attr != null)
- return Int32.Parse(attr, CultureInfo.InvariantCulture);
- return -1;
- }
- set{
- Attributes["size"] = AttributeToString(value);
- }
- }
-
- public HttpPostedFile PostedFile{
- get{
- return Context.Request.Files[RenderedName];
- }
- }
-
- } // class HtmlInputFile
-} // namespace System.Web.UI.HtmlControls
-