Hello Friends
I had used RadUpload control for upload multiple files.
I had used it in multiple pages not i want to change Addbutton text "Add" to "Add more" in single page, other page need to as it is.
So how i will change it in single page?
Please help me.
Thanks & Regards
Jignesh Patel
I had used RadUpload control for upload multiple files.
I had used it in multiple pages not i want to change Addbutton text "Add" to "Add more" in single page, other page need to as it is.
So how i will change it in single page?
Please help me.
Thanks & Regards
Jignesh Patel
6 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 29 Jan 2010, 09:04 AM
Hello Jignesh Patel,
You can customize the text of the buttons directly from aspx as shown below.
aspx:
Hope this helps,
Shinu.
You can customize the text of the buttons directly from aspx as shown below.
aspx:
<telerik:RadUpload ID="RadUpload1" runat="server"> |
<Localization Add="Add more" /> |
</telerik:RadUpload> |
Hope this helps,
Shinu.
0
Jignesh
Top achievements
Rank 1
answered on 29 Jan 2010, 09:31 AM
Hello Shinu
Thanks for reply.
I had tried but its working fine in Telerik.Web.UI namespace but i used Telerik.WebControls namespace.
my aspx is
<radU:RadUpload ID="upload" runat="server" ControlObjectsVisibility="RemoveButtons, AddButton"
ReadOnlyFileInputs="True" Skin="Default" SkinsPath="~/RadControls/Upload/Skins">
</radU:RadUpload>
Thanks & Regards
Jignesh Patel
Thanks for reply.
I had tried but its working fine in Telerik.Web.UI namespace but i used Telerik.WebControls namespace.
my aspx is
<radU:RadUpload ID="upload" runat="server" ControlObjectsVisibility="RemoveButtons, AddButton"
ReadOnlyFileInputs="True" Skin="Default" SkinsPath="~/RadControls/Upload/Skins">
</radU:RadUpload>
Thanks & Regards
Jignesh Patel
0
Hello pintu,
Telerik.WebControls namespace is the namespace of the classic controls, where it is a little bit more tricky to change the localization strings. Information on how to do this can be found here.
Best wishes,
Genady Sergeev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Telerik.WebControls namespace is the namespace of the classic controls, where it is a little bit more tricky to change the localization strings. Information on how to do this can be found here.
Best wishes,
Genady Sergeev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jignesh
Top achievements
Rank 1
answered on 02 Feb 2010, 04:59 AM
Hello Genady,
Thanks for reply.
Means u say to change text in upload/localization/en-Us/RadUpload.xml file?
if i will change text on that file it give me changes in all the pages wherever i used radupload control.
But i need to change the text in only for one page.
how i do?
pls help me.
Thanks & Regards
Jignesh Patel
Thanks for reply.
Means u say to change text in upload/localization/en-Us/RadUpload.xml file?
if i will change text on that file it give me changes in all the pages wherever i used radupload control.
But i need to change the text in only for one page.
how i do?
pls help me.
Thanks & Regards
Jignesh Patel
0
Accepted
Hello pintu,
You can use the following code in order to change the text:
Greetings,
Genady Sergeev
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
You can use the following code in order to change the text:
<
form
id
=
"form1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function onClientAdded(sender, args) {
sender.AddButton.value = "Add More";
}
</
script
>
<
div
>
<
rad:RadUpload
runat
=
"server"
ID
=
"ImportFiles"
TargetFolder
=
"~/uploads"
OnClientAdded
=
"onClientAdded"
/>
</
div
>
</
form
>
Greetings,
Genady Sergeev
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Jignesh
Top achievements
Rank 1
answered on 04 Feb 2010, 05:31 AM
Hello Genady,
Thanks for reply.
Its working fine.
Keep it up.
Thanks & Regards
Jignesh Patel
Thanks for reply.
Its working fine.
Keep it up.
Thanks & Regards
Jignesh Patel