Telerik Forums
UI for WPF Forum
1 answer
117 views
I'm using VirtualizingWrapPanel  inside a Listbox, I have a list of objects as ItemsSource, the list exists all the time but when an object is in the view I retrieve it's image and show it, when an item is not in the view I remove the image, to reduce memory usage.
  
1. when I'm selecting object X and using shift + down arrow I see that the list is trying to retrieve all objects from 0 to X even when it is showing only 12 items at that time.
2. when using Ctrl +A (to select all objects) I don't want the list to retrieve all objects but only the ones that currently on the view.

Can you please advise what can I do to retrieve only the items that in the view?

Thanks,
Yael.
Ivan Ivanov
Telerik team
 answered on 07 Jul 2014
4 answers
244 views
I am trying to add custom ContextMenu to RadWatermarkTextBox using RadContextMenu.ContextMenu attached property and disabling the default context menu. The custom context menu is working fine with the following XAML

<telerik:RadWatermarkTextBox  Text="This is a test Text" Width="875" Height="70" ContextMenu="{x:Null}">
                    <telerik:RadContextMenu.ContextMenu>
                        <telerik:RadContextMenu >
                            <telerik:RadMenuItem Header="Copy" />
                            <telerik:RadMenuItem Header="Paste" />
                            <telerik:RadMenuItem Header="Cut" />
                            <telerik:RadMenuItem IsSeparator="True" />
                            <telerik:RadMenuItem Header="Select All" />
                        </telerik:RadContextMenu>
                    </telerik:RadContextMenu.ContextMenu>
                </telerik:RadWatermarkTextBox>

but the problem is, if I select some text and opens the context menu, the selection of RadWatermarkTextBox becomes clear as soon as context menu is open. Which doesn't look very good. And with default context menu this is not the behavior.

I have tried following code in ContextMenu Opening event but no luck

var tb = radContextMenu.GetClickedElement<RadWatermarkTextBox>();
if (tb != null)
{
   tb.Focus();
}

Please any suggestion for fix of this issue.
Muhammad Ummar
Top achievements
Rank 1
 answered on 07 Jul 2014
1 answer
490 views
Hi,

I have set up a working Geoserver on my LAN. My LAN is not connected to the Internet.
How can I use my GeoServer as the map provider for a RadMap control?

Sebastien
Andrey
Telerik team
 answered on 07 Jul 2014
1 answer
376 views
I have RadDocking control with one split container and 4 RadPaneGroups each with single Pane in it. I need to implement possibility to hide and add third and fourth panes. I have done that via 
    SplitContainer.Items.Add(MyPaneGroup3);
and
    SplitContainer.Items.Remove(MyPaneGroup3);
This is working until user rearranges pane groups. After that both these calls do nothing even if PaneGroup is moved back to its initial location (at least visually). Is there a way to avoid this thing and be able to remove and add PaneGroup after user rearranged them?

Thanks in advance.
Polya
Telerik team
 answered on 07 Jul 2014
3 answers
115 views
I'm trying to create a custom editor using a comboBox. It correctly displays the combobox when I select the property, but I can't seem to get it display the collection. I'm binding it to a property on my viewmodel and stepping through the code, I know this collection is being loaded with data.

<DataTemplate x:Key="RequestorEditor">
   <telerik:RadComboBox SelectedValue="{Binding Value, Mode=TwoWay, FallbackValue=null}"
      MinWidth="100" ItemsSource="{Binding Requestors}" DisplayMemberPath="FullName"
      SelectedValuePath="UserID" />
</DataTemplate>

Is there a reason it wouldn't work?
Vega
Top achievements
Rank 1
 answered on 07 Jul 2014
4 answers
1.4K+ views
how i say in title, i have a datatemplate for a Telerik RadTileView, in the large content i have a toolbar with a play button, the idea is that when a user click this button, the images in the tile view change automatically, i already do that but i need change the image inside the play button with a stop icon, this is my data template:

<DataTemplate x:Key="contentTemplate">
            <telerik:RadFluidContentControl>
                <telerik:RadFluidContentControl.Content>
                    <Border>
                        <Image Source="{Binding Frame}" />
                    </Border>
                </telerik:RadFluidContentControl.Content>
                <telerik:RadFluidContentControl.LargeContent>
                    <Grid>
                        <Grid>
                            <Image Source="{Binding Frame}" />
                        </Grid>
                        <Border BorderBrush="Black" BorderThickness="1" Background="#80000000" Height="80" VerticalAlignment="Bottom">
                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <Button Style="{StaticResource BotonGrande}" Name="BotonImagenAtras" Click="BotonImagenAtras_Click">
                                    <Image Style="{StaticResource ImagenGrande}" Source="/VisorSeproban;component/Imagenes/izquierda.png" />
                                </Button>
                                <Button Style="{StaticResource BotonGrande}" Name="BotonImagenesPlay" Click="BotonImagenesPlay_Click">
                                    <Image Style="{StaticResource ImagenGrande}" Source="/VisorSeproban;component/Imagenes/play_on.png" />
                                </Button>
                                <Button Style="{StaticResource BotonGrande}" Name="BotonCaputarImagen" Click="BotonCaputarImagen_Click">
                                    <Image Style="{StaticResource ImagenGrande}" Source="/VisorSeproban;component/Imagenes/captura_img_on.png" />
                                </Button>
                                <Button Style="{StaticResource BotonGrande}" Name="BotonImagenAdelante" Click="BotonImagenAdelante_Click">
                                    <Image Style="{StaticResource ImagenGrande}" Source="/VisorSeproban;component/Imagenes/derecha.png" />
                                </Button>
                            </StackPanel>
                        </Border>
                    </Grid>
                </telerik:RadFluidContentControl.LargeContent>
            </telerik:RadFluidContentControl>
        </DataTemplate>

Thanks for your help! Regards
Martin Ivanov
Telerik team
 answered on 07 Jul 2014
1 answer
122 views
Hi Telerik,

I have just upgraded my telerik software to the Q2 2014 version.

I know that RadMaskedTextBox have been removed. So i guess i have to use RadMaskedTextInput.

Before i had some code that allowed the user to edit a timestamp but only the hours, minutes and seconds. I did this using the RadMaskedTextBox like below:
<telerik:RadMaskedTextBox IsEnabled="{Binding IsManualCalculate}" Margin="0" Value="{Binding CalculationStart}"
Mask="HH:mm:ss" MaskType="DateTime" Width="60" />

Now that this Control have been removed i dont know how to achieve the same funcitonality. I have tried this:
<telerik:RadMaskedTextInput IsClearButtonVisible="False" IsEnabled="{Binding IsManualCalculate}" Margin="0" Value="{Binding CalculationEnd}" Mask="HH:mm:ss" Width="65" />

But the user cannot edit the text in the RadMaskedTextInput - it just displays HH:mm:ss. I can see that it does not contain the proerty MaskType.


So how would i achieve the same functionality as before?

Best regards,
Jeppe
Casper
Top achievements
Rank 1
 answered on 07 Jul 2014
2 answers
234 views
I am using the Rad Pivot grid with a SQL server 2014 installation to query SQL Server Analysis Database (Cube). I have also installed Business Intelligence studio for Visual Studio 2013. Whenever I connect the pivot grid to the SQL server database I get an error as per attached image. Basically it is saying that it cannot find "Microsoft.AnalysisServices.AdomdClient  Version 10.0.0.0. I have searched the internet for hours trying to find this file and cannot find what I need to install to get it. If it is needed by your data provider why wouldn't you include it as part of the installation?

Can someone please tell me where I can find and install this file and/or any other components I may need

Thank you
Kalin
Telerik team
 answered on 07 Jul 2014
1 answer
156 views
In the older version of the RadDiagramToolbox the RadWrapPanel was used and the items would wrap when the toolbox was resized. But now with the RadUniformGrid they are resized.  How can I switch the toolbox back to using the RadWrapPanel like before?

Thanks
Donovan
donovan
Top achievements
Rank 1
 answered on 05 Jul 2014
2 answers
162 views
GridView from WinForms version has useful feature when user can hide/show different columns in the grid. Is there similar functionality in WPF RadGridView? If yes, then how can I turn it on?
Dmitry
Top achievements
Rank 1
 answered on 05 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?