Posted 01 Nov 2010 Link to this post
Hi I am upgrading latest telerik binaries and in upgradation, I have one issue in RadUpload.
When RadUpload.ShowFileDialog(); method called it will through the error as follows System.Security.SecurityException: Dialogs must be user-initiated. i saw your answer to this question: "Yes, indeed this is a restriction of Silverlight. The file dialogs can only be shown in a callstack (handler) of a user's MouseButton event. We cannot work around this limitation and hence the method should only be called in a handler of a user action". i cant understand the answer, can you please send me a sample, on how i can upload files using the radupload. Thanks
Posted 03 Nov 2010 Link to this post
private
void btnBrowse_Click(object sender, System.Windows.RoutedEventArgs e) {
{
this.radUpload.ShowFileDialog(); }
}
still i get the error, can you please write to me, what i should write in the buttonclick event.
Posted 05 Nov 2010 Link to this post