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

How to change default buttons text

3 Answers 140 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
j
Top achievements
Rank 1
j asked on 12 Feb 2008, 02:53 PM
I can't seem to remove the dots next to the file inputs, even when I set ControlObjectsVisibility to none.
There doesn't seem to be anything controlling this in the css either.

Also would like to change the text for the add input button to something like "add another input".

Thanks for any help on these two issues.  I would seem to be two common questions so I hope someone can help.

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 12 Feb 2008, 03:10 PM
Hello j,

I am not sure I understand your first question from the provided information - would it be possible for you to send us a screenshot with clear markers what "the dots next to the file inputs" are so we can offer a way of removing them.

We are still working on providing some really good localization mechanism in RadUpload Prometheus so for now the only option for renaming the buttons is to add the following JavaScript code to your page:

 <script type="text/javascript"
 
Telerik.Web.UI.RadUploadUtils.Localization =  
    "Remove" : "testremove"
    "Add" : "testAdd"
    "Clear" : "testClear"
    "Select" : "testSelect"
    "Delete" : "testDelete"   
}; 
 
        
        </script> 

In each line the first word is the key and should not be changed, the second one is the value which you should change to the desired string.

Greetings,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
j
Top achievements
Rank 1
answered on 12 Feb 2008, 03:45 PM
ok great, thanks for the javascript.

So sorry for posting about this now, it was totaly my fault.  Found an old style set for ul li that had a custom image as the background.
/*
#main ul li {
    list-style-image: url(../images/bullet.gif);
}*/
that was the problem..gezz

BUT the javascript worked perfectly, only if we could change the post title to "How to change default text" or something, thanks again
0
Accepted
Petya
Telerik team
answered on 12 Feb 2008, 03:50 PM
Hello j,

The title of the post is changed. Let us know if you have any further questions.

Kind regards,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
j
Top achievements
Rank 1
Answers by
Petya
Telerik team
j
Top achievements
Rank 1
Share this question
or