This question is locked. New answers and comments are not allowed.
Hi,
After switching to Silverlight 5 and RadControls for SL 5 we got a small issue.
The layout of our window for upload files is changed. See pictures:
The code is the same but the results are different..
I can't change the size of control. The render result is the same on any size.
The xaml code is below.
After switching to Silverlight 5 and RadControls for SL 5 we got a small issue.
The layout of our window for upload files is changed. See pictures:
- bad.png - Silverlight 5
- good.png - Silverlight 4
The code is the same but the results are different..
I can't change the size of control. The render result is the same on any size.
The xaml code is below.
<Canvas x:Name="LayoutRoot" Background="White"> <StackPanel Orientation="Vertical"> <StackPanel x:Name="uploadCommentStackPanel" Orientation="Horizontal" Margin="0,5,0,5"> <TextBlock Margin="5,0,0,0" VerticalAlignment="Center" Text="Upload Comment:"/> <TextBox Margin="5,0,0,0" x:Name="uploadCommentTextBox" Width="525" MaxLength="1024" Text="Uploaded to folder[userx]" ToolTipService.ToolTip="This comment is set for all uploaded files." /> </StackPanel> <telerikInput:RadUpload x:Name="radUpload" OverwriteExistingFiles="True" UploadServiceUrl="/UploadFilesHandler.ashx" TargetFolder="{Binding UploadTargetFolder, Source={StaticResource so}}" FileUploaded="radUpload_FileUploaded" AllowDrop="True" Drop="radUpload_Drop" UploadFinished="radUpload_UploadFinished" FileUploadStarting="radUpload_FileUploadStarting" UploadStarted="radUpload_UploadStarted" Margin="0" Height="360" Width="640" d:LayoutOverrides="VerticalMargin" Style="{StaticResource FolderRadUploadStyle}" /> </StackPanel> </Canvas>