yavsc/SalesCatalog/Model/FilesInput.cs

25 lines
382 B
C#
Raw Normal View History

2014-07-16 20:35:03 +02:00
using System;
namespace SalesCatalog.Model
{
public class FilesInput : FormInput
{
#region implemented abstract members of FormInput
public override string Type {
get {
return "file";
}
}
#endregion
2014-07-16 20:35:03 +02:00
public FilesInput ()
{
}
public override string ToHtml ()
{
return string.Format ("<input type=\"file\" id=\"{0}\" name=\"{0}\"/>", Id);
}
}
}