Hi AtomP,
You can set it programatically in event page load. Like below
- protected override void OnLoad(EventArgs e)
- {
- if (Context.User.Identity.Name == "David")
- {
- Uploader1.ValidateOption.AllowedFileExtensions = "jpg,gif";
- }
- if (Context.User.Identity.Name == "Mary")
- {
- Uploader1.ValidateOption.AllowedFileExtensions = "pdf,txt";
- }
- base.OnLoad(e);
- }
Regards,
Ken