Welcome Guest Search | Active Topics | Sign In | Register

ajaxUploader language Support Options
roy_eventact
Posted: Monday, November 22, 2010 4:32:16 AM
Rank: Newbie
Groups: Member

Joined: 11/22/2010
Posts: 3
hi .

does the ajaxuploader support languages?
i also tried it with the RightToLeft set to True ,still the progressbar was broken and the language didnt changed even that my cultureInfo is set to other language
how can i do it?
eo_support
Posted: Monday, November 22, 2010 9:17:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The default messages for the uploader is in English. If you wish to customize these messages, you will need to handle the uploader's ClientSideOnError and ClientSideOnMessage to provide your own localized messages.

RightToLeft is not supported on the progress bar. It always moves from left to right.

Thanks!
roy_eventact
Posted: Monday, November 22, 2010 10:00:11 AM
Rank: Newbie
Groups: Member

Joined: 11/22/2010
Posts: 3
eo_support wrote:
Hi,

The default messages for the uploader is in English. If you wish to customize these messages, you will need to handle the uploader's ClientSideOnError and ClientSideOnMessage to provide your own localized messages.

RightToLeft is not supported on the progress bar. It always moves from left to right.

Thanks!


thanks.
what about if the page is right to left then the progressbar looks broken on both side?
eo_support
Posted: Monday, November 22, 2010 11:58:28 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will just have to customize the progress bar to switch those images because all those images are suplied by progress bar properties. See here for more information about how to customize the progress bar:

http://doc.essentialobjects.com/library/1/progressbar/visual.aspx

Note that in order to customize the progress bar, you must customize the uploader's LayoutTemplate first.

Thanks!
roy_eventact
Posted: Wednesday, November 24, 2010 2:23:57 AM
Rank: Newbie
Groups: Member

Joined: 11/22/2010
Posts: 3
hi.
thanks for the language support it was acctualy realy clean to do it.
i have the ajaxuploader in custom control so that image of the progressbar didnt helped me.
today when searching for answers i found post that you said to ovrride the layoutTemplate so the delete button wont show.

first thing is that i still dont know how to change the left and right background of the ajaxuploader progressbar.

second is there any example of how to write new layoutTemplate for ajaxuploader or any control in custom control?
eo_support
Posted: Wednesday, November 24, 2010 7:55:36 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I would suggest you to change your custom control into a user control and get that working first. Which one you use doesn't really matter at all from the uploader's point of view. However when you use a user control, ASP.NET compiler would generate all the code for you, when you use a user control, you will have to write all the code yourself.

For example, when the progress bar is in a user control (or in a form directly), you can set the progress bar’s BackgroundImageLeft property to any image you want directly from the property window. If you use them in a custom control, you must write code to set BackgroundImageLeft property.

Setging LayoutTemplate is more complicated than setting a simple property in custom control. You must first create a class that implements ITemplate interface, then create an instance of that class and assign it to LayoutTemplate.

Details about ITemplate is beyond the scope of our support. Also your one year free tech support has also expired. We have warned you before that you try to create a new account every time you post a new question (You have created a total of 11 accounts on our website). This will be our final warning to you on this practice.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.