template like predefined Html/css template
for eg i have add the template manually by the following code
template_templates: [
{
title: "red",
src: "Template/redyellow/Website/about.html"
},
{
title: "Law",
src: "Template/Law/index.html"
},
{
title: "Business",
src: "Template/Blue_Business/index.html"
},
{
title: "asubtleorange",
src: "Template/asubtleorange/index.html"
},
{
title:" 110100013",
src: "Template/110100013/index.html"
}
]
but i need it with file upload control... like the image is added with tiny editor using the following code
if (FileUpload1.HasFile)
{
string FileName = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);
FilePath = "editor_image/" + FileName;
FileUpload1.SaveAs(Server.MapPath(FilePath));
editor.Text += string.Format("<img src = '{0}' alt = '{1}'/>", FilePath, FileName);
}
like the above code i need to add the html/style sheet template.