How to change default buttons text

Thread is closed for posting
4 posts, 1 answers
  1. j
    j avatar
    6 posts
    Member since:
    Nov 2007

    Posted 12 Feb 2008 Link to this post

    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.

  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 12 Feb 2008 Link to this post

    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
  3. j
    j avatar
    6 posts
    Member since:
    Nov 2007

    Posted 12 Feb 2008 Link to this post

    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
  4. Answer
    Petya
    Admin
    Petya avatar
    869 posts

    Posted 12 Feb 2008 Link to this post

    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
Back to Top