Hello,
I am trying to figure out how to change the localization of the RadasyincUpload control at runtime. I have read the article at: http://www.telerik.com/help/aspnet-ajax/localizing-radupload.html and have created the Required App_GlobalResources directory at my website root – it appears in IIS right under the App_Data folder on the same level. I have added the RadUpload.resx file and created a RadUpload.es-ES.resx file with the appropriate language translations in it.
I create a RadAsyncUpload control at runtime as such
public Telerik.Web.UI.RadAsyncUpload _uploadControl = new Telerik.Web.UI.RadAsyncUpload();
Then I set some propertie:
this._uploadControl.ID = "u" + this.QuestionID;
this._uploadControl.InitialFileInputsCount = 1;
this._uploadControl.MaxFileInputsCount = 1;
this._uploadControl.FileUploaded += new FileUploadedEventHandler(File_FileUploaded);
this._uploadControl.TemporaryFolder = _fileVirtualPath;
this._uploadControl.TargetFolder =_fileVirtualPath ;
this._uploadControl.HttpHandlerUrl = "~/RadUpload/RadUploadFile.ashx";
this._uploadControl.Width = new Unit(250);
this._uploadControl.CssClass = "normalRemoveButton";
Then I have some code to determine the culture and attempt to set the culture of the upload control like :
this._uploadControl.Culture = System.Globalization.CultureInfo.CreateSpecificCulture("es-ES");
Then the control is added to the page controls.
The control still shows all the buttons in English.
What am I doing wrong, how can I get this to work?
We are using Telerik.Web.UI version 2010.3.1109.35
Thanks,
Gary