Telerik Forums
UI for WPF Forum
4 answers
281 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
527 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
408 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
148 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.5K+ 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
148 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
257 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
181 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
186 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
3 answers
236 views
Is it possible to select grid rows using mouse click? I mean that if I click on row it will be select but other selected rows don't become unselected.
It should behave like left click with ctrl click on keyboard.

Second maybe related question: which event may override MouseLeftButtonUp or Down after click on row? If use MouseRightButtonUp it works fine but when use leftbutton event it doesn't work. I have there breakpoint and the program doesn't break.
Yoan
Telerik team
 answered on 04 Jul 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?