Telerik Forums
UI for WPF Forum
14 answers
162 views
I need to know how to detect when the label column of a property grid is resized.
Yoan
Telerik team
 answered on 31 Jul 2013
4 answers
231 views
I've placed a RadMaskedTextInput control onto a window, which is to be used for storing a user's social security number (including the dashes, it stores it into a SQL Server table as a VARCHAR(11)). However, when the user wants to tab through the control to the next control, because of the way I've declared it in XAML, they have to tab through each section of the social security number. Naturally, they don't want to do that. They'd rather just tab into this control, then immediately tab out of it as they go onto the next control. I'm not sure how to accomplish that. Here's the definition I have for the RadMaskedTextInput:

<telerik:RadMaskedTextInput x:Name="txtSSN" MinWidth="80" Value="{Binding SocialSecurityNo, UpdateSourceTrigger=PropertyChanged}"
                            TextMode="MaskedText" InputBehavior="Replace" SelectionOnFocus="SelectAll" Mask="d3-d2-d4" FontSize="15"
                            FontFamily="Century Gothic" BorderThickness="1" BorderBrush="#FFE3E9EF"/>
Rod
Top achievements
Rank 1
 answered on 31 Jul 2013
1 answer
394 views
Hi,

I am trying to search and filters the content of a RadTreeView based on a HierarchicalDataTemplate. The user type a string into a search TextBox and on the TextChanged event of this textbox, the content of the treeview is filtered, according to the user input.

I am trying to do exactly what is done by the solution explorer of Visual Studio 2012. I have read a lot of articles and forums but i didn't find a solution yet. I am using a RadTreeView, a CollectionViewSource as datasource. My RadTreeView contains 3 different objects on three levels. I am using MVVM Light.

If anyone have an idea or even better, a solution, please share it :). Thank you in advance for your help!

Regards,
Doots
Pavel R. Pavlov
Telerik team
 answered on 31 Jul 2013
3 answers
213 views

Hi,

How to change the visibility of DocumentRuler in RadRichTextBox. and How to change ruler in different scale like inches, centimetre ?


Regards

Sopan Vaidya
Iva Toteva
Telerik team
 answered on 31 Jul 2013
5 answers
368 views
I have a simple RadPdfViewer declared in my UserControl:

    <t:RadPdfViewer Grid.Row="1" x:Name="PdfViewer" DocumentSource="{Binding Uri}" 
                    PreviewKeyDown="PdfViewer_OnPreviewKeyDown"
                    DocumentChanged="PdfViewer_OnDocumentChanged"/>

Randomly (although it appears that this exception does not occur if I wait for the current document to be fully rendered and the progress indicator to be removed by the RadPdfViewer) when "Uri" property in my VM (which is a simple string property) is changed to new Uri of some pdf file I get ObjectDisposedException with "Cannot access a closed file." message.

StackTrace:

   at System.IO.__Error.FileNotOpen()
   at System.IO.FileStream.get_Position()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.PdfReaderBase.ReadInternal() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\PdfReaderBase.cs:line 174

Exception Detail:
System.ObjectDisposedException occurred
  HResult=-2146232798
  Message=Cannot access a closed file.
  Source=mscorlib
  ObjectName=""
  StackTrace:
       at System.IO.__Error.FileNotOpen()
       at System.IO.FileStream.get_Position()
       at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.PdfReaderBase.get_Position() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\PdfReaderBase.cs:line 55
  InnerException:

Could you please take a look?
Iva Toteva
Telerik team
 answered on 31 Jul 2013
2 answers
521 views
Hi all,

i have got an issue in using drag and drop functionality in combination with autoscrolling in GridView.
I must be able to select a cell in gridview and the target cell can only be made visible with scrolling up (may be the target cell is on the upper side of grid and source cell is contained in last row).
So, if I try to pick up the source cell drag and drop may be initialized and if i move mouse cursor up gridview does not autoscroll up if i come closer and closer to the also visible column headers.

Is there any way to implement it? If yes it would be very very cool if someone can post a solution for it. :)

We use RadGridview in combination with the  DragDropManage (without "and").

Regards
Martin
Mark
Top achievements
Rank 1
 answered on 31 Jul 2013
1 answer
139 views
I have a gridview where the users select which columns are visible or hidden.  Is there a simple way to save the user's column choices locally and reload them the next time they access the application?

Thank you.
Dimitrina
Telerik team
 answered on 31 Jul 2013
1 answer
681 views
When using RadGridView, I load the ItemsSource, but the Items are empty. Meaning that when I try to read foreach( item in radgridview.Items) it will not pick any item.

If I load the radGridView item by item using x.Items.add(), the ItemsSource is null

It was my expectation that Items and ItemSource should be linked. How can I load a bulk using ItemsSource but then use the items, or load item per item, but extract all the content using ItemSource.
Dimitrina
Telerik team
 answered on 31 Jul 2013
1 answer
103 views
Using the WPF RadRichTextBox with the built in spell-checker and am running into issues where possessives are marked as misspelled.

For example
  • supervisor is marked correct as a singular
  • supervisors is marked correct as a plural
  • supervisor's is marked incorrect
  • supervisors' is marked correct

My thought on the last item is that the spell checker is seeing the plural and not the plural possessive but I don't understand why the stray apostrophe would be considered okay.

So I'm confused as to the rules of possessives within the dictionary.

If anyone can offer clarity and possibly a way to allow possessives I would be most appreciative.

Many thanks!
Iva Toteva
Telerik team
 answered on 31 Jul 2013
2 answers
196 views
Hi,

I have a RadDocking control, DragDropMode="Deferred".
Attempts to dock a pane to the root compass fail if the cursor is still within the dragged pane.

<tt:RadDocking DragDropMode="Deferred" HasDocumentHost="False">
    <tt:RadSplitContainer>
        <tt:RadPaneGroup>
            <tt:RadPane Header="Pane 1" />
        </tt:RadPaneGroup>
    </tt:RadSplitContainer>
    <tt:RadSplitContainer Orientation="Vertical">
        <tt:RadPaneGroup>
            <tt:RadPane Header="Pane 2" />
        </tt:RadPaneGroup>
        <tt:RadPaneGroup tt:ProportionalStackPanel.RelativeSize="100,25">
            <tt:RadPane Header="Pane 3" />
        </tt:RadPaneGroup>
    </tt:RadSplitContainer>
</tt:RadDocking>

Steps to replicate:

 1. Attempt to dock Pane 2 to the right of the Root Compass (see img2): Fail
 2. Attempt to dock Pane 3 to the bottom of the Root Compass (hover the mouse such that the compass for Pane 3 appears. see img3): Fail
3. Attempt to dock Pane 3 to the bottom of the Root Compass (hover the mouse such that the compass for Pane 1 appears): Success

Any ideas? Thanks!

Josh
Vladi
Telerik team
 answered on 31 Jul 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
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
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?