Telerik Forums
UI for WPF Forum
1 answer
127 views

Hi, Actually i want to bind the content of GridViewDataColum with RichtextBox, so when user typing in RichTextBox (New Line) and it will automatically add item in GridViewDataColumn anf ofcourse it is ObservableCollection, i have no idea to make it realized. 

please help me.

 

 

thanks,

 

Boby
Telerik team
 answered on 25 May 2018
2 answers
96 views

Is it possible to restrict WatermarkTextbox to show date content?

I mean I need to display dates here in format 23 May 2018 etc.

Is this possible? If so how?

ajin
Top achievements
Rank 1
 answered on 25 May 2018
7 answers
671 views
I have the below XAML declaration in an empty project.  When I run it the below defaults to a 0 instead of what I set the "EmptyContent" to.  If I click the "ClearContent Button" in the control than I will see my "EmptyContent" text.  What am I doing wrong?  Is this a bug or am I just using it wrong?

<telerik:RadMaskedNumericInput x:Name="Units"
      EmptyContent="Enter Total Units"
      InputBehavior="Insert"
      SelectionOnFocus="SelectAll"
      TextMode="PlainText"                                               
      Mask="#####"
      Margin="3"
      Grid.Column="3"
      Grid.Row="2"/>

Thanks
Petar Mladenov
Telerik team
 answered on 25 May 2018
8 answers
829 views
How can I programmatically set a RadGridView's header row height dynamically, i.e. after the grid has been displayed?
Tene
Top achievements
Rank 1
 answered on 24 May 2018
1 answer
178 views

Hello,

I am using GanttView to display tasks where multiple tasks can be in the same row. I have referred to your example of Recurring tasks on row in the SDK Samples . 

We have a case where the records could overlap with each other with respect to time. In the example of browser, I can see that such overlapping records are rendered one above the other. This makes it hard for the user to read the details on the record that is placed below the other record. 

Is it possible in GanttView to handle such overlapping records and display them below the other so that both the record details can be read?

I am looking for an overlapping behaviour similar to the TimelineViewDefinition with StretchAppointments and StretchGroupHeaders set to false.

Here is the code altered in ViewModel class GetTasks method to achieve overlapping times of recurrence tasks.

var recurrenceTask1 = new GanttTask(today.AddHours(1), today.AddHours(4), "Reccurence 1");
var recurrenceTask2 = new GanttTask(today.AddHours(2), today.AddHours(10), "Reccurence 2");
var recurrenceTask3 = new GanttTask(today.AddHours(6), today.AddHours(20), "Reccurence 3");
Petar Mladenov
Telerik team
 answered on 24 May 2018
13 answers
865 views

Hi,

In my application, we have used RadTreeView to show the hierarchical data.

The structure is like this:

-Parent

 -Parent1

   -Child1

   -Child2

 -Parent2

   -Child1

-Parent

I want to hide the Parent1 node. 

We can achieve this by templating and hiding the HeaderRow. But the problem is all the underlying children are also getting hidden.
I want to keep all the children still visible.
Also, I want to make this Parent1 visible/hidden as per user action.

Please let me know how I can achieve this.

Martin Ivanov
Telerik team
 answered on 24 May 2018
5 answers
328 views

Hello,

 

I have a problem. I try to set a value inside the NumericUpDown (by writing/using up/down keys/clicking up/down arrows) that would change the source variable after focus lost. In case of writing a value (e.g. 234) and in case of pushing the up/down key I'm successful.

But when I try to do the same thing by clicking up/down arrow, change of source variable happens immediately.

<telerik:RadNumericUpDown Grid.Column="2" Grid.Row="0"
                                  Minimum="1"
                                  Maximum="36000"
                                  SmallChange="1"
                                  LargeChange="1"
                                  CustomUnit="s"
                                  IsInteger="True"
                                  Value="{Binding Settings.AnnotationSavingTimeout, UpdateSourceTrigger=LostFocus, Mode=TwoWay, Converter={StaticResource MillisecondsToSecondsConverter}}"/>

 

Thank you for your help while finding the solution.

Jiří

Stefan
Telerik team
 answered on 23 May 2018
1 answer
249 views
Hi, how to use a RadGridView and populate this grid using MySQL Connection? And after populated this grid how to add, delete and edit this grid rows using only the grid proprities, without new forms and buttons? Thks!
Stefan
Telerik team
 answered on 23 May 2018
1 answer
227 views

Hello,

I'm shifting my code from .NET WinForms to Telerik UI for WPF. I want to iterate through all the cells to read it's value and also change it's background color. But I can not find any property like Rows (which I've been using in WinForms) in RadGridView for WPF. I tried searching on google but couldn't find anything useful.

Can someone please help me with how we can iterate through all cells to read it's value using Row Index and Column Index?

I'm very new to WPF and Telerik so it would be useful if anyone can provide a code sample too.

 

 

Martin Ivanov
Telerik team
 answered on 23 May 2018
1 answer
339 views

Hi, I'm using a RadWindow.Confirm with OK and Cancel buttons, but I need that when I click on button OK call a different function than Cancel.

Example:

        private void OnOK(object sender, WindowClosedEventArgs e)
        {
           // Call it when clicked on button OK
        }

        private void OnCancel(object sender, WindowClosedEventArgs e)
        {
           // Call it when clicked on button Cancel
        }

 

Thks!

Dinko | Tech Support Engineer
Telerik team
 answered on 23 May 2018
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?