Re: ERROR WHEN CULTURE IS SET TO ar-SA

  •  01-14-2011, 6:52 PM

    Re: ERROR WHEN CULTURE IS SET TO ar-SA

    Eric,
    Not do we have to find the BUGS, we also have to create an application and put it on a Plate for you!!!!! Really.
     
    All I did, was to take your own demo sample MVC2 application and added the following to the SampleController (which by the way would take you 5 seconds at most to do!!!) . Then just use your sample 1 view to upload a file and you will get the error I have been discussing.
     

    protected override void OnActionExecuting(ActionExecutingContext filterContext)

    {

    base.OnActionExecuting(filterContext);System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("ar-SA");

    System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("ar-SA");

    }
     
    Hopefully you now feel we have done enough of your work for you to be able to do the rest of it !!!
    Thanks.
View Complete Thread