I have a Winforms App Where I am binding Telerik WPF ReportViewer control onto a Winforms app....
It quite nearly works.
All the Binding Works for my Telerik report But 'Find' ComboBox Is not working as well as when we embed into a WPF Application?
**** UPDATE I found that the Find COMBO Box is Enabled It is, however, Only accepting <SPACE> <BACKSPACE> <CTRL-V> of course I want this limitation removed. Meaning if I pasted any Search Terms in to the Dialog box Telerik will find the items in the Report****
I have proven binding by using Visual Property Live Inspector to modify Token Value at runtime. When I modify Token in Visual Studio Live Property Editor it searches report and then highlights as requested. If you can tell me what i must do to enable the Find Text Box the Software will be now be deliverable. Follow the Yellow Higlighted areas in attached pic with word "When" in the Live Visual Property Editor
*** UPDATE ***
I have since learned that where Modeless Operations are required when WPF is being embedded in a Winforms App The Modeless Window (ie your Find Window) must Call the static Method
Kind Regards,
Mark
See the attached video.
I am using SaveFileDialog to select a folder to save my object. It works great but it seems there is a delay to invoke the dialog and VS shows there is a binding error when the SaveFileDialog Showed. But I don't have anything bind with SaveFileDialog.
If you need any extra code. I can attach it here. it is a very simple Invoke function to show the dialog.
Hello.
Look at my image. Is it possible to have rowspan and columnspan in grid?Hi,
I have a step line chart with the trackball enabled. The ChartTrackBallBehavior is like this.
<
telerik:ChartTrackBallBehavior
ShowIntersectionPoints
=
"True"
ShowTrackInfo
=
"True"
SnapMode
=
"None"
SnapSinglePointPerSeries
=
"True"
/>
My problem is that the closest point can be on the left or on the right of the trackball line. I need the closest point to be always the one on the left. Is there a way to change the default behavior so that I can programmatically set the closest point when trackball line moves? I have attached an image to better explain my problem.
Hello,
I've built an application that uses .Net Core 3.1 and the Prism MVVM package.
I have a RadPdfViewerToolBar and a RadPdfViewer on the view. I generate documents and render the output using the following logic. This logic works fine repeatedly for every document I generate. However, if I click the Save button in the RadPdfViewerToolBar, the RadPdfViewer stops updating. I have to restart the program to get the controls working again.
Xaml:
<Grid>
<telerik:RadPdfViewerToolBar x:Name="pdfViewerToolbar" RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}" Margin="0" FocusManager.IsFocusScope="False"
HasClockwiseButton="False" HasCounterclockwiseButton="False" HasOpenButton="True" HasSaveButton="True" HasSignatureButton="False" />
<telerik:RadButton Command="{Binding CommandCopy}" Margin="0 -4 8 0" Padding="0" Height="26" Width="24" HorizontalAlignment="Right">
<Image Margin="0" Height="16" Width="16" Source="{telerik:RadGlyph Glyph={StaticResource GlyphCopy}, Foreground=Black}" HorizontalAlignment="Left" />
</telerik:RadButton>
</Grid>
<ScrollViewer Grid.Row="1" Margin="0">
<telerik:RadPdfViewer x:Name="pdfViewer"
DocumentSource="{Binding PdfDocument}"
RenderOptions.BitmapScalingMode="HighQuality"
Height="580"
Margin="0 -2 0 0"
DocumentChanged="pdfViewer_DocumentChanged"/>
</ScrollViewer>
<telerik:RadBusyIndicator Grid.Row="1" IsBusy="{Binding IsBusy}"/>
Code-behind:
private PdfDocumentSource _pdfDocument;
public PdfDocumentSource PdfDocument
{
get => _pdfDocument;
set
{
SetProperty(ref _pdfDocument, value);
}
}
protected override async Task LoadViewModel()
{
IsBusy = true;
PdfDocument = null;
await Task.Delay(10);
try
{
var sc = System.Threading.SynchronizationContext.Current;
System.Threading.ThreadPool.QueueUserWorkItem(_ =>
{
PdfDocumentSource documentSource = null;
RadFixedDocument document = CreateDocument();
if (document != null)
{
MemoryStream stream = new MemoryStream();
PdfFormatProvider provider = new PdfFormatProvider();
provider.Export(document, stream);
stream.Position = 0;
documentSource = new PdfDocumentSource(stream);
}
sc.Post(delegate
{
PdfDocument = documentSource;
IsBusy = false;
}, null);
});
}
catch (Exception ex)
{
ShowDialog($"{Constants.EXCEPTION} in LoadViewModel: {ex.Message}");
IsBusy = false;
}
}
Does anyone have a suggestion on how I might resolve this issue? Is it a bug in the RadPdfViewer?
Any help would be greatly appreciated.
Hello
I have to need to set the background to each row different way also based on some property value changes, I need to change the background of the row as well runtime. I have attached the screenshot, I want a similar row and cell background also those brush values can be changed runtime.
Can someone guide me on how can I achieve this without affecting the performance much?
Thanks in advance.
Parthiv
Hey. Is there anyway that I can deploy the application without ClickOnce or any Installation but just copy the compiled file to the client machine?
Our company has very complicated and tedious IT process. The best one to deploy the project is just to copy the app to the client machine and run it.
BTW, it is .net core 3.1 WPF APP.
Hello
Checked that the designer crashes when setting the DataContext viewmodel in xaml.
Please check the attached file for details. Here is a simple example source.
It also sends an associated link about the occurrence of the exception.
My Post
Feedback Post
Additionally, if you attach the DataContext to the xaml, when the designer crashes, clearing the RadGridView's ItemsSource will bring the designer back to display.
Could you solve this problem?
Thanks.
I have a form with a RadGrid control that has its ItemSource set to a collection in my View Model, and it all works
I need to add a GridViewComboBoxColum to the Grid. The source will be another collection in the same View Model.
Sounds simple, right? But I can’t get the ComboBox to appear.
For the examples below:
_vm is a public window variable that is a reference to my View Model.
valuestatus is the collection of values that I want to display in the dropdown.
WL_Dashboard is the class type of the list that is set in theitem source of the grid.
<telerik:GridViewComboBoxColumn Name="ValStatusColumn" Header="Val.Status"
SelectedValueMemberPath="{Binding Path=ValidationStatus, Mode=TwoWay}"
IsReadOnly="False"
HeaderCellStyle="{StaticResource BlueHeaderCellStyle}"
ItemsSource="{Binding _vm.valuestatus}"
DisplayMemberPath="valstatus">
</telerik:GridViewComboBoxColumn>
This does not generate an exception or an error in the output window – but the dropdown does not display
If I replace ItemsSource with ItemSourceBinding:
it generates a bunch of errors in the output window and the dropdown does not display:
System.Windows.Data Error: 40 : BindingExpression path error: '_vm' property not found on 'object' ''WL_Dashboard' (HashCode=55939488)'. BindingExpression:Path=_vm._valuestatus; DataItem='WL_Dashboard' (HashCode=55939488); target element is 'RadComboBox' (Name=''); target property is 'ItemsSource' (type 'IEnumerable')
The documentation doesn't help me much because there is no itemsSource set on the grid. It sounds like if use ItemSourceBinding that I need to override the WL_Dashboard setting on the grid for this column - but how?
Any idea what I'm doing wrong? Gotta be something simple that I'm missing here...
Thanks in advance for any assistance you can provide.
Lou