Telerik Forums
UI for Silverlight Forum
6 answers
107 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
39 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
24 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
1 answer
51 views

Hello,

I have an old Silverlight application with the following in the App.xaml file:

      <Style TargetType="tk:GridViewCell" BasedOn="{StaticResource GridViewCellCoreStyle}" />

After updating to the latest, the application no more works: it crashes as soon it displays a GridView control, without any useful error message. It takes me a long time to find the error because I can no more run the application with a debugger and I have no useful error message.

As the application was running fine before I updated Telerik UI for Silverlight, I suppose that the above line is the culprit. Unfortunately, I don't know the previous version of Telerik UI for Silverlight that was used for the application.

I hope this is enough for you to find the bug.

 

Best regards

Patrick
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 22 Feb 2022
7 answers
704 views
I am zipping the file using the Telerik.Windows.Zip. When i extract the zip file manually using winzip, it throws the below error

!   C:\Users\Public\Music\Sample Music\New folder\3.zip: CRC failed in 3.zip.xml. The file is corrupt.

It does work sometime.

using (Stream stream = viewModel.OpenStream())
                    {
                        if (stream != null)
                        {
                            using (ZipPackage zipPackage = ZipPackage.Create(stream))
                            {
                                zipPackage.AddStream(new MemoryStream(GetXmlData(tutorial)),viewModel.Filename+".xml");
                                 
                            }
                        }
                    }


 		    


Dawn
Top achievements
Rank 1
Iron
 answered on 16 Feb 2022
2 answers
260 views
I'm using RadPdfViewer control, and it works correctly if I write my code like this:

var stream = Application.GetResourceStream(new Uri("SampleData/doc.pdf", UriKind.Relative)).Stream;
pdfViewer.DocumentSource = new PdfDocumentSource(stream);

But I want to load files that are hosted on a server (within the same network). I tried this:

Stream stream = File.OpenRead(@"\\192.168.1.100\pdf$\doc.pdf");              
pdfViewer.DocumentSource = new PdfDocumentSource(stream);

As a test, I try a local file

Stream stream = File.OpenRead(@"C:\pdf\doc.pdf");              
pdfViewer.DocumentSource = new PdfDocumentSource(stream);

Is there a way to do it?

PS: All the files have read permissions are published
Ephraïm
Top achievements
Rank 1
Iron
 answered on 30 Nov 2021
4 answers
211 views
Hi all.
I'm using the QueryableCollectionView to filter mu RadChart. With this class i'm able to retrieve the original collection of data (using the SourceCollection property). But, how i can retrieve the filtered collection of data?
Thanks in advance
George
Top achievements
Rank 1
Iron
 answered on 25 Nov 2021
7 answers
1.6K+ views
Getting error like "The tag 'RadComboBox' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation" this.

This is my coding


xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    mc:Ignorable="d"
    x:Class="Splendid.testing.StatusMap.UserControl1"
    d:DesignWidth="640" d:DesignHeight="480">

    <Grid x:Name="LayoutRoot">
        <telerik:RadComboBox Margin="276,0,201,194" VerticalAlignment="Bottom">
            <telerik:RadComboBoxItem Content="RadComboBoxItem" Height="100" Width="100"/>
            <telerik:RadComboBoxItem Content="RadComboBoxItem" Height="100" Width="100"/>
        </telerik:RadComboBox>
    </Grid>
Christy
Top achievements
Rank 1
Iron
 answered on 01 Sep 2021
1 answer
83 views

I have tried to implement a line chart along with Notes,. but the problem arises when 2 notes are very close to each other they overlap and are not readable. I tried adding margin but could not achieve a good result even with rotation it looks very absurd. 

I am trying to figure out a way where I can display the notes in one series alternatively top or down. But I can't find anything. I only got an option to display notes top or down per series. Need help with this?

Or if any other way I can achieve it with a readable format

Dinko
Telerik team
 answered on 08 Jul 2021
14 answers
414 views
While viewing a virtual collection in the gridview if I load the first page, select a row, then move down to a page after the second page and attempt to close the multi selection with the shift key (multi-select across pages) the following error is thrown, any way to prevent this short of removing extended selection from the grid (currently have functionality tied to multiselect), maybe reset selection when page moves?:

System.ArgumentException: Cell is not valid  Parameter name: cellInfo    
at Telerik.Windows.Controls.GridView.Selection.CellInfoCollection.Contains(GridViewCellInfo cellInfo)    
at Telerik.Windows.Controls.GridView.Selection.RowTrackingRootSelectionStateChanger.UpdateCellsSelectionState(DataCellsPresenter cellsPresenter, CellInfoCollection cells, Boolean isSelected)    
at Telerik.Windows.Controls.GridView.Selection.RowTrackingRootSelectionStateChanger.UpdateCellSelectionState(LinkedList`1 trackingRoot, CellInfoCollection cells, Boolean isSelected)    
at Telerik.Windows.Controls.GridView.Selection.RowTrackingRootSelectionStateChanger.UpdateCellSelectionState(CellInfoCollection cells, Boolean isSelected)    
at Telerik.Windows.Controls.GridView.Selection.CellSelectionHandler.SetSelectionState(CellInfoCollection cellsCollection, Boolean isSelected)    
at Telerik.Windows.Controls.GridView.Selection.CellSelectionHandler.EndAllowedSelection()    
at Telerik.Windows.Controls.GridView.Selection.CellSelectionHandler.EndPendingSelection()    
at Telerik.Windows.Controls.GridView.Selection.CellSelectionHandler.EndSelection()    
at Telerik.Windows.Controls.GridView.CellSelectionChange.Dispose()    
at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.Items_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)    
at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)    
at Telerik.Windows.Data.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)    
at Telerik.Windows.Data.DataItemCollection.OnCollectionViewCollectionChanged(NotifyCollectionChangedEventArgs e)    
at Telerik.Windows.Data.DataItemCollection.Telerik.Windows.Data.IWeakEventListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.ReceiveWeakEvent(Object sender, NotifyCollectionChangedEventArgs e)    
at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args)    
at Telerik.Windows.Data.QueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)    
at Telerik.Windows.Data.VirtualQueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)    
at Telerik.Windows.Data.QueryableCollectionView.ProcessSynchronousCollectionChangedWithAdjustedArgs(NotifyCollectionChangedEventArgs originalArguments, Int32 adjustedOldIndex, Int32 adjustedNewIndex)    
at Telerik.Windows.Data.QueryableCollectionView.ProcessAsynchronousCollectionChanged(NotifyCollectionChangedEventArgs args)    
at Telerik.Windows.Data.QueryableCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)    
at Telerik.Windows.Data.VirtualQueryableCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)    
at Telerik.Windows.Data.QueryableCollectionView.OnSourceCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)    
at Telerik.Windows.Data.QueryableCollectionView.Telerik.Windows.Data.IWeakEventListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.ReceiveWeakEvent(Object sender, NotifyCollectionChangedEventArgs args)    
at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args)    
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)    
at Telerik.Windows.Data.RadObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)    
at System.Collections.ObjectModel.ObservableCollection`1.SetItem(Int32 index, T item)    
at System.Collections.ObjectModel.Collection`1.set_Item(Int32 index, T value)    
at System.Collections.ObjectModel.Collection`1.System.Collections.IList.set_Item(Int32 index, Object value)    
at Telerik.Windows.Data.VirtualQueryableCollectionView.LoadItems(Int32 startIndex, IEnumerable items)    
at Telerik.Windows.Data.VirtualQueryableCollectionView.<>c__DisplayClass26.<Load>b__25()
Chris
Top achievements
Rank 1
Iron
 answered on 27 Apr 2021
Top users last month
Benjamin
Top achievements
Rank 2
Iron
Christopher
Top achievements
Rank 1
Iron
Bernd
Top achievements
Rank 4
Bronze
Iron
Iron
Timothy J
Top achievements
Rank 1
Iron
Iron
Iron
Marian
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?