I have created a custom uploader provider to upload files to our database, which works well. The problem is, our services need an additional property that I cannot get to from my custom provider class. So, in the Page_Load event of my .aspx I tried to cast the object returned from the GetUploaderProvider() method on the Uploader control, such as:
CustomFileUploaderProvider
provider = (CustomFileUploaderProvider )this.Uploader1.GetUploaderProvider();
The problem is, it gives me this error:
Unable to cast object of type 'CuteWebUI.l' to type 'CustomFileUploaderProvider'.
I am able to cast it to a CuteWebUI.UploaderProvider type, but even though my custom provider inherits from that class, I cannot cast it to my custom type. Any ideas? Thanks...
scott.bradley