+1-888-365-2779
Try Now
More in this section

Forums / Deployment / RadUpload Text Button (Localization.Select)

RadUpload Text Button (Localization.Select)

6 posts, 0 answered
  1. victor
    victor avatar
    3 posts
    Registered:
    28 Jun 2010
    08 Sep 2010
    Link to this post
    Hi,

    I'm using RadUpload and I want to change the Text in the radUpload button.

    Im using this code below,

    <telerik:RadUpload ID="RadUpload1">
        <location select="Anexar arquivo" />
    </telerik:RadUpload>


    I already tried to use

    RadUpload1.Location.Select = "Anexar arquivo.";

    But my RadUpload don't even appear on the screen.

    Am I missing something?

    Regards,

    Victor Hugo Lopes
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    08 Sep 2010
    Link to this post
    Hi victor,

    Try using Localization property ( this should change the text for sure);

    sample

    Radupload1.Localization.Add = "new text for add";
    Radupload1.Localization.Clear = "new text for delete";
    Radupload1.Localization.Delete = "new text for delete";
    Radupload1.Localization.Select = "new text for select";


    You can gather more information at Localizing RadUpload

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. victor
    victor avatar
    3 posts
    Registered:
    28 Jun 2010
    08 Sep 2010
    Link to this post
    Sorry,

    There's a miss undertood in my first post.

    where I wrote "location" I meant to write "localization".

    Can you help me in other way.

    Thanks
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    08 Sep 2010
    Link to this post
    Hello victor,

    Please take a look at attached video

    here is the code

      <telerik:RadProgressManager runat="server" ID="RadProgressManager1" />
    <telerik:radupload id="Radupload1" runat="server" initialfileinputscount="3" Width="367px" Height="176px"/>
      <telerik:radprogressarea id="RadprogressArea1" runat="server"></telerik:radprogressarea>
     <asp:button id="buttonSubmit" runat="server" text="Submit" />

    code behind

    protected void Page_Load(object sender, EventArgs e)
       {
     
           Radupload1.Localization.Add = "Add New";
           Radupload1.Localization.Clear = "Clear New";
           Radupload1.Localization.Delete = "Delete New";
           Radupload1.Localization.Select = "Select New";
     
       }


    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. victor
    victor avatar
    3 posts
    Registered:
    28 Jun 2010
    08 Sep 2010
    Link to this post
    I tried to use your example, but it didn't work.

    This is my code,

    ASPX
    <telerik:RadUpload Width="300px" InitialFileInputsCount="1"  MaxFileInputsCount="1" Skin="Simple" ID="upArquivo" ControlObjectsVisibility="None" runat="server" Height="23px">
     
    </telerik:RadUpload>
     
     
    <telerik:RadProgressManager ID="radProgressManager" runat="server" />
         <telerik:RadProgressArea ID="radProgressArea" runat="server" Culture="Portuguese (Brazil)" ProgressIndicators="TotalProgressBar, TotalProgress, TotalProgressPercent, RequestSize, FilesCountBar, FilesCount, FilesCountPercent, SelectedFilesCount, TimeElapsed, TimeEstimated, TransferSpeed">
    <Localization Cancel="Cancelar" CurrentFileName="Efetuando upload: " ElapsedTime="Tempo decorrido: " EstimatedTime="Tempo estimado: " TotalFiles="Total de arquivos: " TransferSpeed="Transferência: "
    Uploaded="Enviado" UploadedFiles="Arquivos enviados: " />
     
    </telerik:RadProgressArea>

    CS

    upArquivo.Localization.Select = "Anexar arquivo";

    I don't know what i'm doing wrong.

    Thanks for helping.
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    08 Sep 2010
    Link to this post
    Hi victor,

    I attached a sample project that works fine at my end.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
6 posts, 0 answered