ASP.NET MVC define ckfinder baseurl dynamicly?
-
04-06-2021 - |
Question
Can I define upload and browse baseurl to ckfinder dynamicly in the following code? (when I m creating the ckfinder)
CKFinder.setupCKEditor(null, '@Url.Content("~/ckfinder/")');
Thanks.
Solution
in ckeditor config file I added this.
baseurl="/uploads/images/" + System.Web.Security.Membership.GetUser().ProviderUserKey;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow