Home > DeveloperSection > Forums > How to add Watermark text in FileUpload Control
Tanuj Kumar

Total Post:134

Points:940
Posted on    August-21-2014 12:51 AM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 1788  View(s)
Rate this:

I have a FileUpload Control in my website and now I need to add Watermark text on it but didn't get any success



Sumit Kesarwani

Total Post:378

Points:2694
Posted on    August-21-2014 1:14 AM

Hi Tanuj, 

<style id="cssStyle" type="text/css" media="all">

.CS

{

background-color:#AB00CC;

color: Red;

border: 5px solid #AB00CC;

font: Verdana 10px;

padding: 1px 4px;

font-family: Palatino Linotype, Arial, Helvetica, sans-serif;

}

</style>

<asp:FileUpload ID="FileUpload1" CssClass="CS" runat="server" />

Or

<input id="readFile" type="file" class="CS" runat="server" />


Don't want to miss updates? Please click the below button!

Follow MindStick