Hello,
I am trying to use the CloudUpload within an ElementHost. When I choose a file and then click upload I get the following error:
Object reference not set to an instance of an object.
at Telerik.Windows.Cloud.Controls.Upload.CloudUploadFile.UpdateCommandsCanExecute()
at Telerik.Windows.Cloud.Controls.Upload.CloudUploadFile.SetState(CloudUploadFileState value)
at Telerik.Windows.Cloud.Controls.Upload.CloudUploadFile.StartUpload()
at Telerik.Windows.Cloud.Controls.RadCloudUpload.StartUpload(IEnumerable`1 items)
...
I'm setting up the CloudUpload like so:
var upload = new RadCloudUpload();
upload.Name = "radCloud1";
upload.Provider = new DummyProvider();
elementHost1.Child = upload;
To confirm that I wasn't setting it up incorrectly I tried the same code without the element host and it works fine. Is the ElementHost unsupported?
I am trying to use the CloudUpload within an ElementHost. When I choose a file and then click upload I get the following error:
Object reference not set to an instance of an object.
at Telerik.Windows.Cloud.Controls.Upload.CloudUploadFile.UpdateCommandsCanExecute()
at Telerik.Windows.Cloud.Controls.Upload.CloudUploadFile.SetState(CloudUploadFileState value)
at Telerik.Windows.Cloud.Controls.Upload.CloudUploadFile.StartUpload()
at Telerik.Windows.Cloud.Controls.RadCloudUpload.StartUpload(IEnumerable`1 items)
...
I'm setting up the CloudUpload like so:
var upload = new RadCloudUpload();
upload.Name = "radCloud1";
upload.Provider = new DummyProvider();
elementHost1.Child = upload;
To confirm that I wasn't setting it up incorrectly I tried the same code without the element host and it works fine. Is the ElementHost unsupported?