This is a migrated thread and some comments may be shown as answers.

Remove tooltip for the input and select button

5 Answers 357 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Michel
Top achievements
Rank 1
Michel asked on 23 Apr 2012, 10:25 AM
Hello,

I'd like to remove the tooltip "Aucun fichier choisi" for the Select button.

Thanks!

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 23 Apr 2012, 11:16 AM
Hi Michel,

I suppose that you want to hide the tooltip for select button after selecting a file. Try the following JavaScript.

JS:
<script type="text/javascript">
 function OnClientFileSelected(sender, args)
  {
    var parent = args.get_fileInputField().parentNode;
    parent.childNodes[0].title = "";
    parent.childNodes[1].title = "";
  }
</script>

Thanks,
Shinu.
0
Michel
Top achievements
Rank 1
answered on 23 Apr 2012, 03:18 PM
Thanks Shinu,

No, sorry but I'd like to completely remove the tooltip.

I can't do this with OnClientAdded, OnClientAdding, OnClientClearing, ...

I don't konw why, but I can see the tooltip just with Chrome!
0
Bozhidar
Telerik team
answered on 26 Apr 2012, 07:44 AM
Hello Michel,

Unfortunately this is a browser issue and we have no control over it. WebKit based browsers (like Chrome and Safari) render the <input type="file" /> tag differently, and apparently for some reason Chrome puts a default tooltip on it. Since RadUpload and RadAsyncUpload both use the <input type="file" /> tag internally, this issue is observed in them as well.

You can test this yourself. Just put a regular <input type="file" /> on the page and observe it's behavior in Chrome.
 
Greetings,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
shaherzad
Top achievements
Rank 1
answered on 13 Apr 2016, 08:10 AM

Hi team,

I was able to remove the tooltip through set property  (ToolTip="&nbsp;") in RadAsyncUpload.

But that is only working for "Chrome" browser. Not "Mozilla".

Please suggest.

0
Bozhidar
Telerik team
answered on 14 Apr 2016, 07:54 AM
Hi,

As in my previous reply, does this work correctly with <input type="file" />? 

Regards,
Bozhidar
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Upload (Obsolete)
Asked by
Michel
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Michel
Top achievements
Rank 1
Bozhidar
Telerik team
shaherzad
Top achievements
Rank 1
Share this question
or