Hello,
We are facing this strange issue with PDFViewer.Print functionality on Windows 10 only.
Attached is the sample using latest Telerik dlls (Telerik_UI_for_WPF_2015_2_728_Dev.msi). The problem is - once we print - it goes into the Printing queue and shows "Spooling" but does not print - rather disappears after some time. Please advise.
class Program{ /// <summary> /// Main method. /// </summary> /// <param name="args">The args.</param> [STAThread] static void Main(string[] args) { string fileName = "CMI9063.pdf"; if ((args != null) && (args.Length > 0)) { fileName = args[0]; } // Load the PDF file. byte[] buffer = LoadPdfFile(fileName) ?? new byte[] { }; using (MemoryStream stream = new MemoryStream(buffer)) { PrintDialog printDialog = new PrintDialog { UserPageRangeEnabled = true }; if (printDialog.ShowDialog() == true) { RadPdfViewer radPdfViewer = new RadPdfViewer { DefaultFormatProviderSettings = FormatProviderSettings.ReadOnDemand }; radPdfViewer.ClearDocument(); radPdfViewer.Document = new PdfFormatProvider(stream, FormatProviderSettings.ReadOnDemand).Import(); radPdfViewer.Print(printDialog, PrintSettings.Default); //System.Windows.MessageBox.Show("Successfully print to \"" + printDialog.PrintQueue.FullName + "\"", "Print", System.Windows.MessageBoxButton.OK, System.Windows.MessageBoxImage.Information); } } } private static byte[] LoadPdfFile(string filePath) { byte[] buffer; string folder = Directory.GetCurrentDirectory(); if (!filePath.StartsWith(folder)) { filePath = Path.Combine(folder, filePath); } //load from physical path if (File.Exists(filePath)) { using (FileStream fs = new FileStream(filePath, FileMode.Open)) { buffer = new byte[fs.Length]; fs.Read(buffer, 0, buffer.Length); } } else { return null; } return buffer; }}
If I replace this code with using DataMemberBinding without CellTemplate I don't see this problem.
Any advice on how to fix this problem?
(saw some old threads about it but not sure what's the resolution).
Hi,
i use a RadGridView bound to a ObservableCollection<Calls> with some Columns like Name, Number, Date, Time,...
The Column "Date" ist declared as DateTime in my ViewModel and the Column "Time" is a string. I have to sort my
Collection by Date and Time:
Comin from log:
Prusik#4862416#8:30#20.10.2016#incoming.png#(284,1,0)
Prusik#4862416#8:40#20.10.2016#incoming.png#(284,1,0)
Prusik#4862416#8:50#20.10.2016#incoming.png#(284,1,0)
Golf & Thermenresort Stegersbach GmbH#06803280292#14:00#19.10.2016#incoming.png#(16364,0,0)
Golf & Thermenresort Stegersbach GmbH#06803280292#13:00#19.10.2016#incoming.png#(16364,0,0)
Should be sorted to
Prusik#4862416#8:50#20.10.2016#incoming.png#(284,1,0)
Prusik#4862416#8:40#20.10.2016#incoming.png#(284,1,0)
Prusik#4862416#8:30#20.10.2016#incoming.png#(284,1,0)
Golf & Thermenresort Stegersbach GmbH#06803280292#14:00#19.10.2016#incoming.png#(16364,0,0)
Golf & Thermenresort Stegersbach GmbH#06803280292#13:00#19.10.2016#incoming.png#(16364,0,0)
What is to do to geht thisrunning?
And i also want to insert a new incoming call on top of the RadGridView?
Thanks a lot
Best Regards
Rene
Hi, it's possible to create GridView Row toolTip with Image whose ImageSource is generated from Row data?
In my application I've collection of objects in GridView. Objects contains a few properties for generate image. I want to show tooltip with image generated from row when mouse is over it.
Hi,
I want to modify the height of the period zone and change the font size. (see screenshot).
How can I increase or decrease the size of this part only?
Jean

Hello,
How can i get listlevel value from a numbered or bulleted list. I want to iterate through every list members and get the max listlevel from it. thanks in advance.
Deri.
Hi,
After the installation of Windows 10 Anniversary Update (1607) we observed that the rendering of the SchedulerView control in our application is broken. Especially the display of Resources is affected (e.g. Resource headers are multiplied randomly on the whole control). We installed the .NET 4.6.2 on some older system and got the same problem. I found information about the changes in .NET 4.6.2 https://msdn.microsoft.com/en-US/library/ms171868(v=vs.110).aspx#WPF462. It seems the guys at Microsoft did some changes to the group sorting area. My question is - did anyone experience similar issues after the recent updates? Any hints are appreciated.
Hi, I have some RadPanes in a RadPaneGroup, and I want to change one of the RadPane's order, just like to the first tab position or somewhere. How to do it?
Thanks
Hi, I use databinding for the radtreeview itemsource, and it's easy to get the xmlelement of the radtreeview's item. I want to expand the readtreeview's item , how to do it when I only know the xmlelement?
Thanks
[RefreshProperties(RefreshProperties.All)] public MyType MyProperty { get { return _myProperty; } set { _myProperty=value;
RaisePropertyChanged("MyProperty "); } }
public bool OtherProperty2
{
get
{
return _otherProperty2;
}
set
{
_otherProperty2=value;
if(value)
{
MyProperty = new MyType();
}
else
{
MyProperty = null;
}
RaisePropertyChanged("OtherProperty2");
}
}