Dear Team,
Our project is developed using asp.net with c# 4.0 silverlight and telerik controls. Our requirement is that need a way of browse an excel file and display it to the Radgridview. I did such a way that uploading that excel file into target folder and try to read that file from target folder using filestream. I can successfully able to upload into target folder. But i could not able to read the file as it says "access to path is denied". Could you please guide me to resolve the issue. Whether i need to give any permission to the target folder??.
Our project is developed using asp.net with c# 4.0 silverlight and telerik controls. Our requirement is that need a way of browse an excel file and display it to the Radgridview. I did such a way that uploading that excel file into target folder and try to read that file from target folder using filestream. I can successfully able to upload into target folder. But i could not able to read the file as it says "access to path is denied". Could you please guide me to resolve the issue. Whether i need to give any permission to the target folder??.
<
telerik:RadUpload Margin="14,15,0,0"
x:Name="RadUpload1"
IsEnabled="{Binding IsEditable}"
MinWidth="330"
Filter="Excel files (*.xls)|*.xls|All files (*.*)|*.*"
Style="{StaticResource RadUploadStyle1}"
FontFamily="Arial"
UploadServiceUrl="../FileUploadHandler.ashx"
Visibility="{Binding BullkVisibility, Mode=TwoWay}"
IsAutomaticUpload="False"
TargetFolder="UploadedExcel"
OverwriteExistingFiles="True"
IsMultiselect="False"
UploadCanceled="RadUpload1_UploadCanceled"
FileUploaded="RadUpload1_FileUploaded"
MaxFileCount="1" MaxFileSize="2000000"
HorizontalAlignment="Left" Width="400"
Height="121"
Grid.Row="1"
VerticalAlignment="Top" />
Regards,
Jegadeesh.S