Telerik Forums
UI for Silverlight Forum
3 answers
240 views
Hi

I am developing an application that should be able to preview a set of documents of different types.
Word, txt, html seems to work fine, but what would really be useful is the ability to preview pdf documents since most of the documents that are going to be previewed in this application is just that.

I noticed in version 2010.3.1129.1040 that a PdfFormatProvider had been included, but the PdfFormatProvider.Import()-method throws a NotSupportedException.

I was just wondering as to when such a method will be supported or if there is another way to preview pdf documents that I have yet to discover?

Regards
Sindre
Tanya
Telerik team
 answered on 19 Feb 2021
1 answer
88 views

Hi, In my tile view, Items disappear when I apply style on headers of items.

As
---

 <Window.Resources>
        <Style x:Key="TileViewItemHeaderStyle" TargetType="tileView:TileViewItemHeader">
            <Setter Property="Foreground" Value="Black"/>
            <Setter Property="Background" Value="LightGray" />
        </Style>
        <Style x:Key="TileViewItemCustomStyle" TargetType="telerik:RadTileViewItem">
            <Setter Property="Header" Value="{Binding Title}" />
        </Style>
    </Window.Resources>

----

 <telerik:RadTileView                      
                        ItemsSource="{Binding Tiles}"
                        MinimizedItemsPosition="Bottom"  
                        HeaderStyle="{StaticResource TileViewItemHeaderStyle}" 
                        ItemContainerStyle="{StaticResource TileViewItemCustomStyle}"
                        MaximizedItem="{Binding MaximizedTile, Mode=TwoWay}"
                        PreservePositionWhenMaximized="True"
                        MinimizedColumnWidth="200"
                        MinimizedRowHeight="200">
                    </telerik:RadTileView>

---


However when I remove these lines 

HeaderStyle="{StaticResource TileViewItemHeaderStyle}" 
ItemContainerStyle="{StaticResource TileViewItemCustomStyle}"

 

Tiles aappear but obviously without custom 

Martin Ivanov
Telerik team
 answered on 08 Dec 2020
11 answers
596 views
1) Bind collection to GridView
2) Group on a column
3) set the collection to a new empty collection, or set grid itemssource = null

You should notice that the columns are still on the grid, but the group is removed.

We are trying to persist grouping options across different sets of data, when hitting an empty dataset, the grouping is lost.

The _Grouped and _Grouping events are not fired, however a manual check shows that the GroupDescriptors are indeed cleared.

(This is using Q3 Beta but it was the same behaviour in previous versions)
Dilyan Traykov
Telerik team
 answered on 12 Oct 2020
8 answers
99 views
Hi all,

Is there a way to set a banner aboce the radtileviewitems ? In this banner i have to add the logo of the company and a title.

I know that there are headers for eacht tileviewitem, but that's not what i'm loooking for.
I really need an mainbar above all the items. I tried using border and rectangle but i can't get it right...

Any help ?

Kind regards,

Gertjan
Anisa
Top achievements
Rank 1
 answered on 22 Sep 2020
19 answers
921 views
Hello,

I need to change the language of the localization of a gridview at runtime without creating an instance of a gridview (as shown in the examples). I know, that I have to adapt the templates for the RadGridView but before I start I wanted to ask whether there are any exisiting templates doing dynamic localization which could be provided or whether it is planned to support dynamic localization in a further Telerik version?

Kind regards,
Li
Fernando
Top achievements
Rank 1
 answered on 20 Sep 2020
0 answers
98 views

Hello,

I am maintaining some legacy code that runs Silverlight controls, deployed in a SharePoint 2013 web part.

I installed the latest version of 'Telerik UI for Silverlight'. I opened the project and notice that the Telerik references in my Silverlight project have successfully updated to the new version and the designers work fine.

The visual studio projects compile and deploy successfully, but when I go to the SharePoint page, I don't see the controls (in IE which is required for Silverlight).

When I debug the Silverlight code I get message: 

Could not load file or assembly 'Telerik.Windows.Controls, Version=2020.3.915.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The requested assembly version conflicts with what is already bound in the app domain or specified in the manifest. (Exception from HRESULT: 0x80131053).

What should I do to allow SharePoint to find these DLLs? I looked at the prod installation and none of the silverlight dlls (such as Telerik.Windows.Controls) were in the GAC and the application worked fine.

I appreciate any help you can offer.

Marcel
Top achievements
Rank 1
 asked on 17 Sep 2020
3 answers
100 views

Hi,

I got problem with SelectedItems binding - If I put breakpoint to the Setter of the SelectedComboFilterItems it will never be hit.

View:

<telerik:RadAutoCompleteBox x:Name="ComboFilterAutoCompleteBox" Grid.Column="1" Grid.Row="5"
  Margin="1" HorizontalAlignment="Stretch"   TextSearchMode="Contains"
  ScrollViewer.VerticalScrollBarVisibility="Auto"
  TextSearchPath="FormattedName" DisplayMemberPath="Name" SelectionMode="Multiple"
  ItemsSource="{Binding ComboFilterItems,Mode=TwoWay}"
  SelectedItems="{Binding SelectedComboFilterItems,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  IsEnabled="{Binding ComboFilterEnabled}"
  FilteringBehavior="{StaticResource CustomFilteringBehavior}"
   <telerik:RadAutoCompleteBox.DropDownItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding FormattedName}"/>
                </DataTemplate>
    </telerik:RadAutoCompleteBox.DropDownItemTemplate>
</telerik:RadAutoCompleteBox>

 

Here is ViewModel:

 

public ObservableCollection<DocumentType> mSelectedComboFilterItems = new ObservableCollection<DocumentType>();
public ObservableCollection<DocumentType> SelectedComboFilterItems
{
    get
    {
        return mSelectedComboFilterItems;
    }
    set
    {
        mSelectedComboFilterItems = value;
    }
}
public ObservableCollection<DocumentType> ComboFilterItems { get; set; } = new ObservableCollection<DocumentType>();

 

Rest of the binding is working fine.

If I select few items the SelectedComboFilterItems will hold those values. Just for some reason the setter is never called.

Cheers

Mike

Dilyan Traykov
Telerik team
 answered on 08 Sep 2020
7 answers
140 views
Just to let you know, in the HtmlPlaceHolder Window Integration demo, if you have the zoom in IE to anything but 100%, the html is either too small or too big for the window, and misplaced.

Christian
Martin Ivanov
Telerik team
 answered on 01 Sep 2020
4 answers
180 views
When i select a row, I have to click on a cell which is then highlighted. Is there any way we keep keep the entire row selected instead of keeping the row selected along with the clicked cell highlighted. 
Dinko | Tech Support Engineer
Telerik team
 answered on 19 Aug 2020
1 answer
105 views

Dear Telerik,

we have a serious problem using your report viewer for Silverlight. Presently all reports and graphics can only be printed out to locally connected printers. Printing to a networked printer does not work. The functions give the impression that the print process is running but at the end all that comes out of the networked printer is a blank sheet of paper. We have also discovered that the same is true of your online demo of the PDF-Viewer.

We need urgently your help in this matter.

With thanks in Advance.

Regards

Gina Siebrecht

Neli
Telerik team
 answered on 18 Aug 2020
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?