Telerik Forums
UI for WPF Forum
5 answers
117 views
Hi,

We are migrating some existing systems to WPF and when I try "-0" with the RadDatePicker, The whole application crashed immediately without further error message etc. Is this a bug of the control? Would this be fixed in the next patch or release?

PS. We are testing with version Q3 2009 SP1 and "-0" is one of the shortcut keys of our existing system.

Thanks,
John
Yana
Telerik team
 answered on 25 Apr 2016
2 answers
120 views

Hi,

I am running the following xaml:

<Grid><br>        <telerik:RadRibbonView telerik:KeyTipService.IsKeyTipsEnabled="True"><br>            <telerik:RadRibbonView.ApplicationMenu><br>                <telerik:ApplicationMenu telerik:KeyTipService.AccessText="F"><br>                    <telerik:RadRibbonButton Content="New" telerik:KeyTipService.AltAccessText="N"/><br>                </telerik:ApplicationMenu><br>            </telerik:RadRibbonView.ApplicationMenu><br>        </telerik:RadRibbonView><br>    </Grid><br>

 

When I do "Alt+F", it opens the main menu like it should, but then if I press "N" alone, it clicks the button but does not close the application menu (and the access key disappears too). If I press "Alt+N", it closes the application menu promptly. My question is how do I close the application menu on just "N" alone?

Any ideas?

Best

Usman
Top achievements
Rank 1
 answered on 22 Apr 2016
3 answers
110 views

Hello,

When I click in an empty gridview a new row is automatically created. How can I disable this functionality?

Because I need to do some validation first before a new row can be created in my scenario.

 

Thanks in advance.

Marcel

Yoan
Telerik team
 answered on 22 Apr 2016
4 answers
309 views

Hello. 
I have boolean column in my grid with custom checkbox template:

<telerik:GridViewDataColumn Header="Custom Bool Column"
                   EditTriggers="CellClick"
                   DataMemberBinding="{Binding LabelReady, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                   HeaderTextAlignment="Center">
   <telerik:GridViewColumn.CellTemplate>
      <DataTemplate>
         <Image Height="20" Margin="2"  Stretch="Uniform">
            <Image.Style>
               <Style TargetType="{x:Type Image}">
                  <Setter Property="Source" Value="/red-cross.png"/>
                     <Style.Triggers>
                        <DataTrigger Binding="{Binding LabelReady}" Value="True">
                           <Setter Property="Source" Value="/green-tick.png"/>
                        </DataTrigger>
                     </Style.Triggers>
                  </Style>
               </Image.Style>
            </Image>
         </DataTemplate>
      </telerik:GridViewColumn.CellTemplate>
   </telerik:GridViewDataColumn>

And I need to add a confirmation dialog on cell edit using MVVM approach, i.e. now when user double clicks on the image, the value is changed to opposite, how can I add a dialog, which will ask user if he really wants to change the value, and change the value in cell only if he press "Yes" ? 

 

iahulg
Top achievements
Rank 1
 answered on 22 Apr 2016
1 answer
67 views

When installing RadPivotGrid references using your Nuget packages, I notice that the Nuget installer insists that my WPF project take a reference to System.Windows.Forms. 

Why does a WPF control require WinForms-specific binaries?

Polya
Telerik team
 answered on 22 Apr 2016
1 answer
129 views

I've just discovered that the RadPivotGrid does not support cell selection. After searching your forums, I can see that this feature has been promised since Q1 2013 but not delivered as of Q! 2015.

 

Is there a realistic timeframe for the delivery of this feature? Not being able to select individual cells/rows/columns is a deal-breaker and will result in my project being forced to use DevExpress.

Polya
Telerik team
 answered on 22 Apr 2016
1 answer
108 views
is there an easy way to make child and parent nodes visible after finding a node that meets filter criteria?
Ivan Ivanov
Telerik team
 answered on 22 Apr 2016
4 answers
249 views

I want to know how to add LabelDefinitions within this SeriesProvider.

​

<telerik:RadCartesianChart.SeriesProvider>
    <telerik:ChartSeriesProvider Source="{Binding PolygonFuncTable, Mode=OneWay}">
        <telerik:ChartSeriesProvider.SeriesDescriptors>
            <!-- Polygon -->
            <telerik:ScatterSeriesDescriptor ItemsSourcePath="ColorPoints" XValuePath="X" YValuePath="Y">
                <telerik:ScatterSeriesDescriptor.Style>
                    <Style TargetType="telerik:ScatterLineSeries">
                        <Setter Property="RenderOptions" Value="{StaticResource renderOptions}" />
                        <Setter Property="StrokeThickness" Value="2"/>
                        <Setter Property="Stroke" Value="Black"/>
                        <Setter Property="ShowLabels" Value="False"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding ElementName=chkShowLabel, Path=IsChecked}" Value="True">
                                <Setter Property="ShowLabels" Value="True"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </telerik:ScatterSeriesDescriptor.Style>
                
            </telerik:ScatterSeriesDescriptor>
 
        </telerik:ChartSeriesProvider.SeriesDescriptors>
    </telerik:ChartSeriesProvider>
</telerik:RadCartesianChart.SeriesProvider>
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 22 Apr 2016
1 answer
102 views

Hi,

We have specific themes project aligning to organisation branding. We have used Telerik Themes project as to create the same.

We have created few Dialog - for Login, About Windows in WPF. Example: Our About dialog is inherited from Window and have button. Now that we want to localise we see that Close button contents are not localised we have binding for Button Content from Resx file and I have localisation Resources DLL.

 

I checked even when the UI Thread Culture is German- the Close button content is still in English. I need your help to know if we need to use Localisation Manager to get this working. I have similar issues in Login Window that is developed similarly but has few more controls like Username text,Password text,Connect, Cancel button that needs to be localised.

 

Attached is sample project

 

 

Martin Ivanov
Telerik team
 answered on 22 Apr 2016
1 answer
272 views

I have a radSpiltButton with a simple search form in the drop down content. When the user hits enter I want a button on that form to be triggered (isDefault=true), however the enter is closing the drop down content.  How can I keep the content open when the user hits enter?

 

There doesn't seem to be a cancelable DropDownClosing event that I can cancel, so I tried checking for the pressed key in the DropDownClosed event. If the key is the enter key then I try to re-open the drop down. I received an error: "Cannot reopen a popup in the closed event handler."

private void splt_Customer_DropDownClosed(object sender, RoutedEventArgs e)
        {
            if (Keyboard.IsKeyDown(Key.Return))
            {
                splt_Customer.IsOpen = true;
              // Error: "Cannot reopen a popup in the closed event handler."
            }
        }

 

I can't re-open the drop down content once its been closed; so how do I prevent it from closing on enter in the first place?

 

 

 

Martin Ivanov
Telerik team
 answered on 22 Apr 2016
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?