I am running into this issue: "Startxref keyword cannot be found".
I was referencing the information in the link below, and it did not solve my problem. My PDF does not have a blank space at the end, and using the code in the link didn't make the error go away. What other possible causes for this issue are there? I am unable to provide the document that is having issues because the document is confidential.
http://www.telerik.com/support/kb/winforms/pdf-viewer/details/notsupportedexception-startxref-keyword-cannot-be-found-when-loading-pdf-file-in-radpdfviewer-for-winforms
Thanks,
Bryand
Hello Telerik,
I am trying to pre-group my Gridview on the start of the page (page load)
so i saw a very interesting documentation you have called "programmatic grouping", which has the following block of code i would need to use inside my XAML
<
telerik:GroupDescriptor
Member
=
"Country"
SortDirection
=
"Ascending"
DisplayContent
=
"Country Group"
/>
My question is: where exactly is this GroupDescriptor? It doesn't seem to recognize the tag at all. Can you provide me a sample or something that uses it? I couldn't find one in your demos tool.
thank you.
I'm using MVVM with property "IsBusy", set the DataContext to this property and change it when needed.
The problem is that in some cases the BusyIndicator (BI) is not visible.
Here is how the BI configured:
<
telerik:RadBusyIndicator
x:Name
=
"CashierBusyIndicator"
IsBusy
=
"{Binding IsBusy}"
>
<
Style
TargetType
=
"telerik:RadBusyIndicator"
>
The view model seems like that:
public
class
CashierStationMainWindowModel : INotifyPropertyChanged
{
private
bool
_IsBusy;
public
bool
IsBusy
{
get
{
return
_IsBusy;
}
set
{
_IsBusy = value;
OnPropertyChanged(
"IsBusy"
);
}
}
#region INotifyPropertyChanged implementation
public
event
PropertyChangedEventHandler PropertyChanged;
private
void
OnPropertyChanged(
string
propertyName =
""
)
{
if
(PropertyChanged !=
null
)
{
PropertyChanged(
this
,
new
PropertyChangedEventArgs(propertyName));
}
}
#endregion
}
The method that change the BI is:
protected
void
EnableDisableBusyIndicatorAsync(
bool
enable)
{CashierStationMainWindow.GetInstance().CashierStationWindowModel.IsBusy = enable;
Simple not working example, this block is a button press implementation:
EnableDisableBusyIndicatorAsync(
true
);
System.Threading.Thread.Sleep(5000);
EnableDisableBusyIndicatorAsync(
false
);
Some more info:
* The BI located at RadWindow object.
* The not working block run from a RadPage located inside the RadWindow
* Other RadPages call the EnableDisableBusyIndicatorAsync method and it works fine.
Thanks in advanced,
Eliran
Hi there,
I use a RadGridView with ColumnGroups and I just can't find out how to make the column group headers as well as the regular column headers height smaller than the default size. My font size is quite small and the headers are using up much more space than required. If I increase the font size to let's say 30 the headers grow in height accordingly but shrinking only works to some point. Looks like there is some min height configured anywhere but I can't find it.
If I try to adjust the row header height through the HeaderRowStyle and set the height to some smaller value, the headers just get cut off which is not what I want... I use the Windows 8 Theme by the way...
Thanks for any kind of help on this topic.
Marcel
Hello,
You can see a screen about my window contening RadGridViews. So, I've a got a line above each header of each GridView, and I don't found how I can hide it.
Can you help me ? Thanks.
I am seeing some significant performance problem when using implicit styles that are marked as resource (build action).
Opening a dialog takes 5 second when the xaml (fo ex: Telerik.Windows.Controls.Data.xaml) files are marked as resource for build action, if i mark them as page the dialog opens up in a second.
I am developing and add-in project, basically my project is being hosted inside another WPF application, because of that I do not have an App.xaml file. I am referencing to no xaml binaries and have added all the telerik xaml files to my project.
Because I do not have app.xaml I am merging the xaml files in my dialog window. Not sure if this will cause the performance issue.
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../../Themes/Custom/Common.xaml"/>
<ResourceDictionary Source="../../Themes/Custom/RadTabControlStyle.xaml"/>
<ResourceDictionary Source="../../Themes/Custom/RadButtonStyle.xaml"/>
<ResourceDictionary Source="../../Themes/Custom/RadTimePickerStyle.xaml"/>
<ResourceDictionary Source="../../Themes/Custom/RadMaskedNumericInputStyle.xaml"/>
</ResourceDictionary.MergedDictionaries>
<conv:EnumDescriptionConverter x:Key="enumDescriptionConverter"/>
<conv:EnumFilterConverter x:Key="enumFilterConverter"/>
<conv:ReverseBooleanConverter x:Key="reverseBooleanConverter"/>
</ResourceDictionary>
</Window.Resources>
Hi,
I'd like to know if it is possible to create a custom ScatterAreaSeries like the one shown in the attached image.
I'd like to indicate some point and only the area between the line and that point to be colored.
Thanks,
Alberto
I have a 10k word file. Search is lightning faster (fantastic), but replacing is horribly slow, ~10 inserts per second (this gets worse as the file grows). I've wrapped the replace process in a Begin and EndUndoGroup, but that seems a nominal improvement. (see pseudo-snippet below)
I also have a 100k word file that is essentially unusable in the control. It is plain text, no images or extraneous formatting. It takes 1-5 seconds for keystrokes to register. I've throttled documentchanged event to 10 seconds. After importing the same document into the Telerik demo project (TelerikEditorDemo_WPF) I'm noticing the same performance issue. Again, cpu usage is quite low.
Is there any optimizations that can be done to help with these issues?
With UI virtualization is it normal to see 1G+ memory usage by opening up a ~100k word document (700KB file)?
My grid containing the control (row 1)...
<Grid.RowDefinitions>
<RowDefinition
Height="117" />
<RowDefinition
Height="*" />
<RowDefinition
Height="20" />
</Grid.RowDefinitions>
// Replace functionality below
Editor.BeginUndoGroup();
foreach (TextRange range in Results)
{
RadDocument.Selection.Clear();
RadDocument.CaretPosition.MoveToPosition(range.StartPosition);
RadDocument.Selection.AddSelectionStart(range.StartPosition);
RadDocument.Selection.AddSelectionEnd(range.EndPosition);
Editor.Insert(replaceText);
}
Editor.EndUndoGroup("Replace");
Easy to replicate:
1) Create a new document, copy the contents of the wiki page https://en.wikipedia.org/wiki/Parthian_Empire (high number of formatting changes and images)
2) Paste into document and export to docx
3) Try to import
The exact same document created directly in word and imported to RadRTB imports fine (2-3 seconds)