Telerik Forums
UI for WPF Forum
3 answers
184 views
Is it possible to get a contour plot or customize one in telerik chart?
Petar Marchev
Telerik team
 answered on 07 May 2013
1 answer
130 views
I'm using a TextBox in a CellEditing template in a GridView for entering data.

The requirement is that we make sure that when someone clicks into the grid to edit, the data that is already in the text box be selected. Always. Always. The text should ALWAYS be selected when entering edit mode. We NEVER want to see the cursor until at least one new key is hit (arrow key, or other). The text should always be selected.

So I implemented some changes to the text box as outlined here:

http://stackoverflow.com/questions/660554/how-to-automatically-select-all-text-on-focus-in-wpf-textbox

That should in theory work for always selecting the text box.

However, I've found that the Grid View column, when going into edit mode, always UNSELECTS the selection if you click directly on the middle of the text. In other words, it gives me a cursor and no text selection.

Debugging into this, I've found that the culprit comes from one of the GridViewColumn classes calling "PlaceCaretOnTextBox". I want to avoid this.

Is there a setting in the column where I can get it to stop killing the selected text when entering edit mode?


Thanks,
Chad Lehman
20th Century Fox


Chad
Top achievements
Rank 1
 answered on 06 May 2013
3 answers
110 views
Hi all,

I am looking for a way to know which datapoints (or screen coordinates) are in range of my current zoom level.
I'm drawing specific stuff above the graph and don't want to change anything if the user clicks outside the graph.

Any ideas?

Kind regards,
Dwight
Tsvetie
Telerik team
 answered on 06 May 2013
14 answers
1.7K+ views

I have a WPF application which contains a window, which has a RadGridView control in it.  There's an action that I want to occur when the user double clicks on a row in the `RadGridView` control, or if they press the `Enter` key while a row is selected.

The `RadGridView` control currently has an event handler associated with the `MouseDoubleClick` event.  What I want to do is to execute the same code that's in the `MouseDoubleClick` event handler when the user presses the `Enter` key and a row is selected in the `RadGridView`.  I've already moved that code into a helper method that can be called from either place.

Right now, pressing enter while a row is selected in the RadGridView control causes the row after the currently selected one to be selected.  How do I change the behavior associated with pressing the Enter key?

Tony
Top achievements
Rank 1
 answered on 06 May 2013
10 answers
252 views
Hi ,
Can we expect RadRichTextBox for WPF within 2 months , ie by April 2011? We are eagerly waiting for that.
Regards,
RS
Boby
Telerik team
 answered on 06 May 2013
0 answers
89 views
Dear staff,
      it is possible to display the current page based on a selected item in the grid?
      The selection of the element can be done dynamically, but not the paging
      below the selected row.
     That is, the current page must act on the basis of where the selected row in the grid.

is it possible?

thanks in advice
AP
Alberto
Top achievements
Rank 1
 asked on 06 May 2013
3 answers
54 views
Hi!

We have been using Telerik controls for the past 3 years and have built extensive WPF Controls with RadGrids for our customers to view their data. More and more we are getting asked for the ability to have the reports automatically created and emailed in a PDF format every night to them. We built our own service to do this that exports the Grid to a .XPS file to get the identical look and feel of the screen then use a .XPS to PDF converter to do the final conversion so that we didn't have to recreate all of the controls in another format. The challenge is the service is proving unreliable due to having may different dependencies.

My question is:
Does Telerik have something in their suite of controls and libs that would facilitate the scheduling and emailing of reports in a more "Industry standard" fashion that wold move the report creation closer to the data? How to other people accomplish this task, as I know it is nothing new.

Thanks,
Ryan
Dimitrina
Telerik team
 answered on 06 May 2013
2 answers
346 views
After the 'x' button on a floating RadPane is clicked, the ToolWindow is gone, but the pane can still be found in Docking.Panes .
Try to use pane.MakeFloatingDockable() but failed, the pane won't show.
Is there any way to restore the closed floating RadPane or even the ToolWindow?
Chang
Top achievements
Rank 1
 answered on 06 May 2013
0 answers
90 views
I have an hierarchy gridview with 2 levels.  We use MVVM with data annotation for validation.  The parent item have a data annotation on the child collection to validate that we have at least one child item.  The validation error shows on the parent row but when I add the item to the child collection the parent row remains marked with an error.  Any idea?
Alex Martin
Top achievements
Rank 1
 asked on 06 May 2013
10 answers
312 views
Hi

Is it possible to add a gradient (shown in attachment) at the top and bottom of the gridviewVirtualizingPanel (or ColumnCollection)?
Currently I do this by setting a LinearGradientBrush on my Radgridview.background and set the rowbackground transparent. But when I resize my window, the gradient disappears. 

<t:RadGridView.Background>
    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
        <GradientStop Color="White" Offset="0" />
        <GradientStop Color="Gray" Offset="0.07" />
        <GradientStop Color="White" Offset="0.1" />
        <GradientStop Color="White" Offset="0.97" />
        <GradientStop Color="Gray" Offset="1" />
    </LinearGradientBrush>
</t:RadGridView.Background>


Thanks in advance
Lowie
Lowie
Top achievements
Rank 1
 answered on 06 May 2013
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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?