Telerik Forums
UI for WinForms Forum
1 answer
65 views

Hi,

I have a commandbarmaskededit box that is not restricted users to numeric entry only. In the objects properties under the expanded CommandBarMaskedTextBoxElement I have the Mask as ### and the MaskType as Standard and I have also tried it with Numeric. Neither options prevent the user from enter any alphanumeric characters instead of restrict in to just numeric. Thanks!

Dimitar
Telerik team
 answered on 05 Oct 2018
0 answers
289 views

Hi. I'm using Telerik UI for WinForms Q3 2014(v2014.3.1104.40)

I have a problem about memory leak between creating and disposing RadGridView.

I already have searched many threads, but I coudn't find the answer.

So I make a small test project to test the memory leak.

 

In image files, one tb(RadGridView) is just created. Not includes data binding or any columns/rows.

Just empty thing.

And using 2 buttons, I create and remove tb repeatly.

(In removing process,

tb.controls.Dispose(), tb.Dispose(), tb = null, even GC.Collect() are performed.)

 

However, memory leak is increasing more and more.

I tested using datagridview in C# basic control and it doesn't make a leak.

 

If I did a mistake, tell me what's wrong.

Need a solution to prove this case.

Best regards.

 

 

img01.png = tb is Dock.Left. And 2 buttons for disposing tb, creating tb.

img02.png = source code of remove/create button event.

 

Hajun
Top achievements
Rank 1
 asked on 05 Oct 2018
1 answer
491 views

When a theme is applied to ribbon bar of rich text editor the icons are also changed. When I extract in code Image property of some button (for instance richTextEditorRibbonBar1.buttonInsertImage.Image) I get the default non-themed image. But themed image is shown in the form. How do I access themed image from buttonInsertImage? How do I access this image from theme repository?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Oct 2018
12 answers
1.4K+ views
I am using ObservableCollection as a source. Class with item have INotifyPropertyChanged implemented. Also on setting value to specific prop i forcing update by OnPropertyChanged().

The problem is i see changed value only after selecting different cell or scrolling grid. It seams like grid is taking good new value of the cell when need to redraw.

How to force visible part of the grid just after list modification?

I try to use MasterTemplate.Refresh(); but it reset scroll position.

As workaround i am InvalidateRow() on each modified rows, but i think it is not proper solution.

What is more have GridViewTemplate and GridViewRelation implemented to hierarchical grid for each row (one level), and i don't know how to update cells on those grids expanded on screen?

I did not have this problem with BindingList.
Hristo
Telerik team
 answered on 04 Oct 2018
5 answers
97 views

Hi I have a problem when adding the radChat1 tool

 

Pressing the Send Message button shows this 
An unhandled exception of type 'System.ArgumentNullException' occurred in Telerik.WinControls.UI.dll

Additional information: The Author property has to be set to a valid instance when AutoAddUserMessages is set to true.
Dimitar
Telerik team
 answered on 04 Oct 2018
5 answers
155 views

I override the BaseInputEditor with a trackbar editor (using code from Telerik website).

But when I change the position of the trackbar, the PropertyValueChanged event does not occur (radPropertyGrid)

What am I doing wrong?

Dimitar
Telerik team
 answered on 04 Oct 2018
3 answers
866 views

Hi Telerik

I am using the RadDateTimePicker to allow the user to select a date and a time.

I have successfully set the MinDate and MaxDate to limite the user to a date range and I also set the MinTime and MaxTime to limit the user to an allowable timeslot.

We now require the user to be restricted to different time slots on different days i.e. Monday to Friday 09:00 - 17:00, Saturday 10:00 - 14:00 and Sunday 12:00 - 13:00 to reflect different opening hours of a shop.

When setting the MinTime and MaxTime i use the following code:

var rdtpc = this.rdtp_TargetDate.DateTimePickerElement.CurrentBehavior as RadDateTimePickerCalendar;
rdtpc.ShowTimePicker = true;
rdtpc.TimePicker.TimePickerElement.MinValue = DateTime.Today.Date.AddHours(9);
rdtpc.TimePicker.TimePickerElement.MaxValue = DateTime.Today.Date.AddHours(17);

 

This is fine for a single time range, but what event do I need to wire up to allow me to set different enabled time range for different days/dates?

Thanks

 

 

Hristo
Telerik team
 answered on 03 Oct 2018
2 answers
101 views

Hello,

Does anybody know how to get the name of the control (Listview) when using the DragDropService >> PreviewDragOver >> e.HitTarget ?

I have got multiple listviews on a form and depending on the source the DragItem may not be dropped.

Grtz Patrick Vossen

 

Johan Feijen
Top achievements
Rank 1
 answered on 03 Oct 2018
2 answers
142 views

Hi,

 

I'm creating a RadCheckedListBox at run time and adding various items to it, some of which are checked and others which are not. Based on other data, I would like to override the default colour of the "tick" (currently green) to red, but not for all items only some of them. Is this possible ?

Regards
Toby

Toby
Top achievements
Rank 1
 answered on 03 Oct 2018
0 answers
152 views

Hey guys, this is just a warning, u have set the font on RadDropDownListElement and RadCheckBoxElement so we can't change the font of RadDropDownList and RadCheckBox at design time, I had resolve it on my personalized theme removing the font applied repository item and I don't konw if u already fixed it, there maybe is another controls with the same problem, but I haven't noticied it.

 

Sorry for bad english

Leandro
Top achievements
Rank 1
 asked on 02 Oct 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?