Telerik Forums
UI for WPF Forum
3 answers
154 views
Hi,
 I load an arabic DOCX files in RichTextBox that integrate with RadBook. 
But when it loaded, it show all RTL Text in LTR Format. How i can fix it?
Hazim
Top achievements
Rank 1
Veteran
 answered on 27 Jun 2020
1 answer
360 views

Hi,

I have a problem with a editable gridview.

The colums with dateticker and radcombobox have a cyan border.

It appear when I am editing and a mouse leave this field.

Xaml :

<telerik:RadGridView 
              x:Name="ModifiableItems"
              Grid.Row="0"
              RowHeight="45"
              Margin="0,0,0,15"
              GridLinesVisibility="Horizontal"
              CanUserSortColumns="False"
              CanUserFreezeColumns="False"
              IsReadOnly="false"
              HorizontalAlignment="Left"
              VerticalAlignment="Stretch"
              IsFilteringAllowed="True"                                                       
              HorizontalContentAlignment="Left"
              RowIndicatorVisibility="Collapsed"
              ItemsSource="{Binding ModifiableItems, Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
              SelectionMode="Single" >
 
              <telerikctrl:RadGridView.Columns>
                  <telerik:GridViewDataColumn DataMemberBinding="{Binding String}" Width="*" EditorStyle="{StaticResource TextBoxRadGridViewStyle}" />
                  <telerik:GridViewDataColumn DataMemberBinding="{Binding Int}" Width="*" EditorStyle="{StaticResource TextBoxRadGridViewStyle}"/>
                  <telerik:GridViewDataColumn DataMemberBinding="{Binding Bool}" Width="*"/>
                  <telerik:GridViewDataColumn DataMemberBinding="{Binding Double}" Width="*" EditorStyle="{StaticResource TextBoxRadGridViewStyle}"/>
                  <telerik:GridViewDataColumn DataMemberBinding="{Binding Decimal}" Width="*" EditorStyle="{StaticResource TextBoxRadGridViewStyle}" />
                  <telerik:GridViewDataColumn DataMemberBinding="{Binding DateTime, StringFormat=dd/MM/yyyy}" Width="*" />
                   
                  <telerik:GridViewComboBoxColumn ItemsSource="{Binding ObservableCollection}" DataMemberBinding="{Binding Item}" DisplayMemberPath="Label" Width="*" EditorStyle="{StaticResource RadComboBoxRadGridViewStyle}"/>                           
              </telerikctrl:RadGridView.Columns>
 
          </telerik:RadGridView>

 

You can see in attachement, a sample

Sia
Telerik team
 answered on 26 Jun 2020
3 answers
195 views

I use NoXaml binaries and use the Expression dark theme forlittle test program. 

The MainWindow and the RadGridView use the theme. But the Scrollbar does not use the theme.

Do you have any idea why it is notstyled.

Best regards, 

Ralf

Vladimir Stoyanov
Telerik team
 answered on 26 Jun 2020
1 answer
155 views

Hello,

I'd like to edit an expandable object in Property Grid. For instance, when I change the value in one child property, it also changes the result in the parent property, and vice-versa. 

ParentProperty  (X value); (Y value); (Z value)

ChildXProperty  (X value)

ChildYProperty  (Y value)

ChildZProperty  (Z value)

Let's say ChildX and ChildY are Double, and ChildZ is Integer. Thank you for help.

Vladimir Stoyanov
Telerik team
 answered on 26 Jun 2020
3 answers
337 views
I'm using the GridView in a project and I have an issue that I'm hoping has an easy solution. See, my GridView is bound to an ObservableCollection and inserts are enabled. Elsewhere in my UX (on a completely different View, in fact) I have a Save button that will send the contents of the collection off to a web service for processing. The button and GridView have no knowledge of each other in this MVVM app.

The issue that I'm having, however, is that when a user inserts a new row, but doesn't press ENTER or ESC to cancel or commit then clicks on the Save button, the collection is in a half-baked state. My preferred behavior would be for the GridView to commit the row edit whenever the GridView clicks anywhere outside of the row being edited. Is that possible?
Geert
Top achievements
Rank 1
 answered on 25 Jun 2020
3 answers
210 views
Hi,

I have a rad grid view with the settings below. I must bind an item that contains lot's of properties, meaning a lot of columns and meaning that the horizontal scrollbar will appear at the bottom of the grid. I therefore need to scroll around to view all columns / cells in the grid. When I select a cell to the very right of the grid (after scrolling), the scrollbar automatically jumps to the left, sometimes to the beginning of the grid, sometimes about mid-way in the grid. I then have to scroll back again manually to the right to find the cell I wanted to edit . This is highly inconvenient when you have to work on a grid with lot's of data. I attached a screenshot highlighting the issue.

I am using Telerik controls for WPF with Telerik.Windows.Controls.GridView.dll version: 2012.3.1017.40

Here's my grid configuration:

 <Grid>
        <telerik:RadGridView x:Name="MyGridView" AutoGenerateColumns="True" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserReorderColumns="False"
                CanUserSortColumns="False" CanUserResizeRows="True" IsFilteringAllowed="False" ShowGroupPanel="False" ColumnWidth="250"
                ShowColumnHeaders="False" RowIndicatorVisibility="Collapsed" SelectionUnit="Cell" CanUserFreezeColumns="False" FrozenColumnCount="1"
                EditTriggers="Default">
            <telerik:RadGridView.Columns>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>

Here's my code:

  public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            List<Item> items = new List<Item>();
            items.Add(new Item() { TimeIn = DateTime.Now });
            items.Add(new Item() { TimeIn = DateTime.Now });
            items.Add(new Item() { TimeIn = DateTime.Now });
            items.Add(new Item() { TimeIn = DateTime.Now });
 
            this.MyGridView.ItemsSource = items;
        }
    }
 
    public class Item
    {
        public DateTime TimeIn { getset; }
        public string SomeTextItem { getset; }
        public string SomeTextItem1 { getset; }
        public string SomeTextItem2 { getset; }
        public string SomeTextItem3 { getset; }
        public string SomeTextItem4 { getset; }
        public string SomeTextItem5 { getset; }
        public string SomeTextItem6 { getset; }
        public string SomeTextItem7 { getset; }
        public string SomeTextItem8 { getset; }
        public string SomeTextItem9 { getset; }
        public string SomeTextItem10 { getset; }
        public string SomeTextItem11 { getset; }
        public string SomeTextItem12 { getset; }
        public string SomeTextItem13 { getset; }
        public string SomeTextItem14 { getset; }
        public string SomeTextItem15 { getset; }
        public string SomeTextItem16 { getset; }
        public string SomeTextItem17 { getset; }
        public string SomeTextItem18 { getset; }
        public string SomeTextItem19 { getset; }
    }

Shrikant
Top achievements
Rank 1
 answered on 25 Jun 2020
4 answers
89 views

Hello,

 

I have a RadMaskedInput to gather information on a form. I have a button that saves the information on the form, then clears the form. When I click the RadMaskedInput a second time to enter a new value, it uses the a cache of the previously entered value, which I have to delete before I can continue typing or some parts of the previous text will remain with my new text. Is there a way to disable this caching so that that RadMaskedInput never shows previous data that was entered?

 

Thanks.

Vladimir Stoyanov
Telerik team
 answered on 25 Jun 2020
4 answers
194 views

What am I doing wrong?

 

 

Vladimir Stoyanov
Telerik team
 answered on 25 Jun 2020
1 answer
191 views

     Hello,

 

Is there any way to create vacation schedule for employees like here it is:

https://i.pinimg.com/564x/00/7c/eb/007ceb32e93f101dbc8f88409dbbda4f.jpg

Can I do this with GanttView?

 
Vladimir Stoyanov
Telerik team
 answered on 25 Jun 2020
4 answers
426 views

Hi there, 

I am currently testing the autocompletebox in our project and I am having some troubles understanding certain parts of it. I had a look at the documentation and the examples, but they have not really helped me. 

 

Our scenario is simple: 

A user wants to send a message to another user. The ACB is used to search for the contact and add it to the recipients list. (At least thats the plan)

We have an ObservableCollection holding all Contacts of a user. I have bound that to the ItemsSource of the ACB. 

 

<telerik:RadAutoCompleteBox x:Name="txtSearchBoxCC"
                            ItemsSource="{Binding ContactsList}"
                            DisplayMemberPath="Fullname" />

The ACB works as intended, I can search and select contacts as I wish. 

My problem is, that I would just like to check for all the selected Items in the ACB by the time the user hits "send". 

Also, how can I prepopulate the Textbox with some of the Items in the ItemsSource ? 

Ciupaz
Top achievements
Rank 2
Veteran
 answered on 25 Jun 2020
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?