Telerik Forums
UI for Silverlight Forum
0 answers
33 views

Hello,

The Format Painter button is not working, the formatting of the selection is not reproduced, an the button remains checked even after clicking anywhere in the RichTextBox.

You can easily reproduce on the demo site.

Is it broken ?

Ali
Top achievements
Rank 1
 asked on 20 May 2024
8 answers
312 views
I have two instances of the ScheduleView control on one page ( a bit like this demo: http://demos.telerik.com/silverlight/#ScheduleView/Grouping/Basics).  Is there a way to synchronise the vertial scrolling of both controls e.g. Control 2 automatically scrolls vertically as Control 1 scrolls vertically.  The page I am developing allows the user to compare two sets of daily appointments.  It would be really useful if both calendars scrolled together.

Regards

Myles
Simon
Top achievements
Rank 1
Iron
 answered on 13 Feb 2024
6 answers
1.0K+ views
Hi,

I am getting pdf files in a byte array form from the MS Reporting Services PDF Rendering Extension 11.0.0.0. Fonts are embeded and everything works fine, but if there are some special characters like letters with apostrophe the document is not displayed. If I save that document and open it with Adobe Reader it looks fine. The only difference that i'm aware of is that this documet has also an embeded subset of type 'TrueType (CID)' with encoding 'Identity-H'. Verdana is the only font in the document. Is there a solution to this problem?

Thanks in advance

Branislav

aziz
Top achievements
Rank 1
Iron
 answered on 15 Nov 2023
0 answers
114 views

Hi Telerik,

I used the old Telerik Silverlight UI to create a simple *.exe file that creates an excel file.   The *.exe uses .NET framework 4 and references the below libraries from the 2017 Telerik Silverlight UI:

using Telerik.Windows.Documents.Spreadsheet;

using Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.xlsx;

This old *.exe no longer works when run on newer Windows 64-bit consoles with .NET 4.5 Framework installed.  The *.exe terminates with the below error stacktrace:

----------------------------

Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.

   at Telerik.Windows.Documents.Spreadsheet.Model.Workbook..ctor()
   at OracleExcelExport.Program.ProcessConfigFile(String configFile) in C:\Users\183639\Documents\Visual Studio 2010\Projects\OracleExcelExport\OracleExcelExport\Program.cs:line 61
   at OracleExcelExport.Program.Main(String[] args) in C:\Users\183639\Documents\Visual Studio 2010\Projects\OracleExcelExport\OracleExcelExport\Program.cs:line 30

------------------------------

I am thinking it maybe 32-bit to 64-bit compatibility problem.  Either way, there is bad reference from Telerik.Windows.Documents.Spreadsheet.Workbook..ctor()

Let me know if you can help.

Winston
Top achievements
Rank 1
 asked on 10 Mar 2023
21 answers
466 views
What is the suggested way to use the built-in localization for separate nuget packages. I can't find any localization dll inside.

If i would use the big single nuget package the dll for my language is included. By the way, this is not an option to me.

Kind regards,

Enrico
Alexander
Top achievements
Rank 1
Iron
 updated answer on 30 Jan 2023
2 answers
191 views

Hi,

 We've been using a RadTreeView to display a RadGridView as one of its items, recently we updated to the latest Telerik Silverlight controls and there is a major delay in showing the RadGridView (previously it was pretty instant).  

 

<telerik:RadTreeView Name="AlertTree" 
                                     HorizontalAlignment="Left"
                                     Margin="0,0,0,0"
                                     VerticalAlignment="Top"
                                     IsVirtualizing="True"
                                     telerik:TreeViewPanel.IsVirtualizing="True"
                                     telerik:TreeViewPanel.VirtualizationMode="Standard">

The RadGridView only has 100 rows - it loads at normal speeds into the tree when collapsed (i.e. not visible).   The problem occurs when the tree is expanded to display the RadGridView.  The UI appears to freeze and to display the 100 rows with 6 columns takes a minimum of 10 seconds (previously 1 or 2).  The memory also jumps considerably when RadGridView finally becomes visible.

// Create the grid view
RadGridView aGridView= new RadGridView();
aGridView.ItemsSource = new Telerik.Data.DataTable(e.Result);

// Attach the grid view to the Tree 
RadTreeViewItem aItem = new RadTreeViewItem();
aItem .Header = " Header Info";
aItem .Items.Add(aGridView);

 As mentioned before, this was working fine previously.  

Thanks
Oliver

 

Anatoly
Top achievements
Rank 1
Iron
 answered on 03 Dec 2022
14 answers
1.6K+ views
The TextBox control has a useful property called MaxLength which limits how many characters you can enter in it.

There does not seem to be an obvious/simple way to do the same thing with a GridViewDataColumn.

The way I got this to work was:

<Controls:GridViewDataColumn DataMemberBinding="{Binding ProductCode,Mode=TwoWay}" Header="Product Code" Width="150">
  <Controls:GridViewDataColumn.CellEditTemplate>
    <DataTemplate>
      <TextBox Text="{Binding ProductCode,Mode=TwoWay}" MaxLength="50"/>
    </DataTemplate>
   </Controls:GridViewDataColumn.CellEditTemplate>
</Controls:GridViewDataColumn>

Is there a better/simpler/less verbose way of achieving this?
John
Top achievements
Rank 1
Iron
 answered on 12 Aug 2022
6 answers
335 views
I read somewhere that you are going to implement 2d barcodes

do you have an ETA for this

we are looking for a tool to create 'user definable' barcode layouts for test tubes, slides etc but definately require slides to have 2d barcodes due to the limitaions of the size of the barcodes

we use your tools for our client, so hoped we could create a barcode designing/printing solution too but definately require 2d

thx
Damian
Top achievements
Rank 1
Iron
 answered on 02 May 2022
1 answer
283 views

Hi.  I have an old Silverlight application that uses the Telerik Silverlight Map control using the Microsoft Bing Map provider.  Silverlight is obsolete, but we are trying to keep it running for as long as we can.

The Telerik Silverlight Bing Map stopped working.  The map control loads, but no map is being displayed.  A http packet trace shows an HTTP 404 error against http://dev.virtualearth.net when requesting clientaccesspolicy.xml.  See screenshot:

Is there a way to fix this?

Petar Mladenov
Telerik team
 answered on 26 Apr 2022
1 answer
254 views

Hello,

I have an old Silverlight application using the `Windows 7` theme.

In this application, I'm using many controls and the `app.xaml` file contains the following theme files:

      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/System.Windows.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Controls.Docking.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Controls.GridView.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Controls.ImageEditor.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Controls.Input.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Controls.Navigation.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Controls.RibbonView.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Controls.RichTextBoxUI.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Controls.xaml" />
        <ResourceDictionary Source="/VisManager;component/Themes/Themes/Windows7/Telerik.Windows.Documents.xaml" />
      </ResourceDictionary.MergedDictionaries>

After installation Ui for Silverlight R1 2022 SP1, the application no more starts: it complains about a referenced static resource that is missing, in the `Telerik.Windows.Controls.RichTextBoxUI.xaml` file.

Replacing this file with the one from version R1 2022 makes it work again.

You should really test Silverlight application while you're adding new functions!

 

Patrick
Top achievements
Rank 2
Iron
Iron
Iron
 updated question on 28 Mar 2022
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?