Hello,
When I add a TextBoxField to an interactive form, and set it to IsReadOnly=true, I can still modify the value and it saves with the document.
Is there a fix to that?
Brandon
Hi Telerik,
I have a ribbon that I need to behave a little differently.
1. I need it to always pop up the way that the ribbon does in "Minimized Mode"
2. I need it to not auto-close when the window focus is lost or when something is clicked outside of the ribbon.
What's a good way for me to make this happen?
HI,
I have seen that issue was raised already last year.
https://www.telerik.com/forums/richtextbox-doesn't-paste-google-documents-bullet-list#XzDTvIATk0ijGU2xwH5BPQ
I would like to know if anything was done to fix it?
I have installed Office 15.0.5041.1001 and I cannot copy paste any bullet list.
Copying and pasting work in case of users which have version 15.0.5031 (I don't know if it is coincidence or not).
Thanks in advance for quick answer
Beata
Hi,
Currently i'm trying to implement virtualization layer with IMapVirtualizationSource to improve the performance of plotting in map.
it is working well.
my question is, is it possible to use data template for this layer? because when i tried to implement data template, it's not showing anything. if i create the data using ellipse object like in documentation, it shows all the data fine.
I follow the guide from this: https://docs.telerik.com/devtools/wpf/controls/radmap/features/virtualization-layer
My other question is, is it possible to change the layer opacity? because no matter what value i assign, it is still not changing the opacity
this is how i change the opacity:
var vi = new VirtualizationLayer();
vi.ZoomLevelGridList.Add(new ZoomLevelGrid(6));
vi.Opacity = 0.5;
If i assign the item into vi.ItemSource, the opacity works, but it is not using the virtualization.
Thanks.
How to change series color for a series as per some range values for different data points of the same series ? For example I want to show blue color for data points between range -10-0 degree celcius , yellow color for data points between range 0-25 degree celcius & red color for data points for the same series between range 25- 100 degree celcius. I want to do it for BarChart , Polar chart & Radar chart of Telerik WPF controls.
https://docs.telerik.com/devtools/winforms/chartview/customization/custom-rendering
I have demonstrated example described on above link . I just want to same thing with WPF bar chart , polar chart . Please suggest easiest way .
I'm trying to using MVVM binding for the pdfviewer but the document always turns out blank. I'm querying a DB field that contains the bytes of the PDF file and I'm trying to get it to display in the viewer (I've confirmed that the file is not malformed and it displays fine if I save it as a PDF to my desktop).
Here are my MVVM properties:
private RadFixedDocument _currentDocument;
public RadFixedDocument CurrentDocument
{
get => _currentDocument; set => this.RaiseAndSetIfChanged(ref _currentDocument, value);
}
Here is the method I'm using to populate the CurrentDocument property:
var sqlStr = @"select top 1 * from FileManager order by ID desc;";
var file = await con.QuerySingleAsync<FMFile>(sqlStr);
var fileBytes = file.FileContent.ToArray(); // this is type byte[] - I confirmed that it has the correct contents
var ms = new MemoryStream(fileBytes); // ms gets filled properly
FormatProviderSettings settings = new FormatProviderSettings(ReadingMode.AllAtOnce);
PdfFormatProvider provider = new PdfFormatProvider(ms, settings);
CurrentDocument = provider.Import();
And here is how my XAML looks:
<telerik:RadPdfViewerToolBar RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}" />
<telerik:RadPdfViewer x:Name="pdfViewer"
Grid.Row="1"
DocumentSource="{Binding CurrentDocument, Mode=TwoWay}" />
However, nothing get's displayed in the viewer. I confirmed that my VM is hooked up correctly as other property display just fine. Any advice would be appreciated.
I have an object with some properties, such as:
public
class
Result
{
public
DateTime Date {
get
;
set
; }
public
Double Temperature {
get
;
set
; }
public
Double Humidity {
get
;
set
; }
}
I would like to have possibility to dynamically change series which I plot at the chart.
Eg. to have ComboBox with string items: "Temperature" and "Humidity" with binding SelectedItems={Binding SelectedSeriesName}
In ViewModel property "SelectedSeriesName"
In chart
<telerik:StepLineSeries ItemsSource="{Binding Results}" ValueBinding="{Binding SelectedSeriesName}" CategoryBinding="Date"/>
of course that is not possible due to ValueBinding must be string.
How can I make this scenario corect?
Hi everyone!
I stumbled upon this problem few days ago in one of our applications and I verified the same issue in Telerik demo application too.
In few words, RadRichTextBox can't paste a selection copied from a Google Document bullet list.
To reproduce the issue, simply create a new Google Document and insert a bullet list (single or multi-level, it doesn't matter) then select some bullet elements and copy them in the clipboard.
If you try to paste in a RadRichTextBox control, nothing is gonna be pasted.
As a further indication, I tried some more moves before opening this thread: given that the clipboard has an "HTML Format" data chunk, first I verified that the chunk was visualizable in a browser, and it was.
Then I tried to import it with a HtmlFormatProvider then add the content as a DocumentFragment and the result was that nothing was added.
So I tried to extract the text from the HTML chunk, using a TxtFormatProvider, but the result was an empty string.
I think the two issues are related: nothing is pasted in the editor because the html importer returns an empty content.
I'm looking forward to hear about a possible solution or workaround.
Thanks in advance.
Fabrizio
Good day, I have a GridView with following style and Theme set to Fluent:
<Style x:Key="TelerikGridViewStyle" TargetType="telerik:RadGridView">
<Setter Property="telerik:StyleManager.Theme" Value="{StaticResource TelerikTheme}"/>
<Setter Property="RowIndicatorVisibility" Value="Collapsed"/>
<Setter Property="AutoGenerateColumns" Value="False"/>
<Setter Property="IsReadOnly" Value="True"/>
<Setter Property="CanUserFreezeColumns" Value="False"/>
<Setter Property="FrozenColumnsSplitterVisibility" Value="Collapsed"/>
<Setter Property="EnableRowVirtualization" Value="True"/>
<Setter Property="EnableColumnVirtualization" Value="True"/>
<Setter Property="ScrollMode" Value="RealTime"/>
<Setter Property="GroupRenderMode" Value="Flat"/>
<Setter Property="ShowGroupPanel" Value="False"/>
<Setter Property="SelectionUnit" Value="FullRow"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="RowHeight" Value="15"/>
</Style>
My grid has a lot of columns, so I enabled horizontal scrollbar to fit all the data. The problem is, my grid would frequently contain only one row, and with current style and Fluent theme it looks good in a normal view with a thin scrollbar (see picture 1), but as soon as my mouse hovers over the scrollbar to scroll to another set of columns, scrollbar expands and becomes so wide it covers that only row of data I have (see picture 2).
Is there any way to keep thin scrollbar style from picture 1 even when using it?
I am facing problem with column width autoresizing.
I have code like that bellow.
<RadGridView ItemsSource="{Binding SomeObservableCollection}">
…
<RadGridView.Columns>
<GridViewDataColumn Header="First" DataMemberBinding="{Binding NameSource}" MinWidth="60"/>
<GridViewDataColumn Header="Second" DataMemberBinding="{Binding ValueSource}" MinWidth="145"/>
</RadGridView.Columns>
</RadGridView>
Columns auto resizing work well but only in one way. One time the width is increased never until new app start is decreased. I want width fit to content on each column all the time but never be thinner then MinWidth property value.
I have search very much but I have found no solution. For WPF there is not Autoresizing behaviour or Autoresize or BestFit method. Even if I set the Width property programmatically the ActualWidth property value never changes. I definitely call UpdateLayout on RadGridView.
Is there some simple solution?
Thank you very much.