Cannot Theme Ajax uploader controls

Last post 10-05-2009, 10:41 AM by jpchatt. 2 replies.
Sort Posts: Previous Next
  •  10-05-2009, 10:06 AM 56107

    Cannot Theme Ajax uploader controls

    in an effort to retro actively set AutoUseSystemTempFolder="false" in all controls I made a skin that applied to all controls instead of going into my code and changing every control individually.
    however i got an error saying the ajax control could not be themed.

    Is there a way around this?
    or am I SOL?
  •  10-05-2009, 10:40 AM 56108 in reply to 56107

    Re: Cannot Theme Ajax uploader controls

    Hi,
     
    Because the uploader is compile in VS2003 , so it can't marked as [Themeable(true)] .
     
    You can create your own control library :
     
    [Themeable(true)]
    public class MyUploader : CuteWebUI.Uploader
    {
    }
     
    And then user MyUploader on pages, and theme it.
     
    Regards,
    Terry
     
  •  10-05-2009, 10:41 AM 56109 in reply to 56108

    Re: Cannot Theme Ajax uploader controls

    thank you for the speedy response.
View as RSS news feed in XML