I read a lot discussion about how to remove the NO file selected
text .
I found that this trick do the job but I need something a little bit different :
<style type="text/css">
input[type='file'] {
color: transparent;
}
</style>
<input type="file" />
I need the NO file selected
to be removed according to a if
condition
Something like if there is a value
then remove the No file chosen, else add it.
@if (Model.value != null)
{
Remove the no file chosen
}
else
{
Add the no File chosen
}
Is it possible? I use MVC5 Project...