Telerik Forums
UI for WinForms Forum
1 answer
113 views

Hi

Please Help

Language: VB.Net (VS2017)

Telerik Version: 2017.3.1017

I am printing from radGridView with RadPrintDocument. Please advise how to add row numbers in the printpreview/print document.

In radGridView, row number is there in Row Header.

Thanks

Nadya | Tech Support Engineer
Telerik team
 answered on 13 Jul 2021
2 answers
197 views

Hi,

I have a RadGrid containing a self-referencing hierarchy of data. All works perfectly. 

However, when it comes to styling, I am using one of the standard theme. However, I would like to change the default images for the expand/collapse arrows for showing/hiding the child elements, but nothing else .

How do I go about handling this?

Regards

Thomas

 

 

 
Thomas Bargholz
Top achievements
Rank 1
Iron
 answered on 13 Jul 2021
1 answer
69 views

I am trying to disable HTML-like text formatting for appointments in a Scheduler that I have, but so far nothing is working. I have tried setting the DisableHTMLRendering property to true for myScheduler.ViewElement, myScheduler.SchedulerElement and have even tried it in the CellFormatting event handler where I set the property for mySchedulerCellEventArgs.CellElement. I am getting the same results in my main project as well as in a new test project that I created.

Thanks - Logan

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jul 2021
1 answer
129 views
I'm just comparing the Autocomplete Features of AutoCompleteBox and TextBoxControl.

Is the Tokenization of multiple Items the Key Feature of AutoCompleteBox ? Or could it behave/look like a normal TextBox also.

I found from your Demos, the AutocompleteBox will, if you type "Jon", find an item like "Sebastian Jonnson".
TextBoxControl doesn't . It only finds strings, who starts with the typed Sequence, not contain a sequence.

Is this general behaviour, or are there settings to control how a match is made ?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jul 2021
1 answer
111 views

All,

A simple question regarding the Calendar for the RadDateTimePicker using Microsoft WinForms.

The behavior I'm trying to fix is this:

I've put a KeyDown handler on the parent RadDateTimePicker that filters out backspace presses (since we don't want them in that control or any hosted controls in it). This appears to work fine (I can see the handler fire when this control has the focus). The RadDateTimePicker also has a hosted calendar control that can be accessed via a mouse click. When clicking on the UI element to get the popup Calendar, it properly pops up.. but when in the Calendar, if I now press the Backspace key, the Calendar popup disappears (this is the undesirable behavior).

I've tried this type of C# code to override keydown for the popup RadCalendar to get it to ignore Backspaces and it does not appear to work (I'm using exactly the same handler for now since I know it works):

            this.m_radDateTimePicker = new Telerik.WinControls.UI.RadDateTimePicker();

            //other initialization of the m_radDateTimePicker..

           Telerik.WinControls.UI.RadDateTimePickerCalendar calendarBehavior = (this.m_radDateTimePicker.DateTimePickerElement.GetCurrentBehavior() as Telerik.WinControls.UI.RadDateTimePickerCalendar);
            Telerik.WinControls.UI.RadCalendar calendar = calendarBehavior.Calendar as Telerik.WinControls.UI.RadCalendar;
            Telerik.WinControls.UI.RadCalendarElement calendarElement = calendar.CalendarElement as Telerik.WinControls.UI.RadCalendarElement;
            calendarElement.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RadDateTimePicker_KeyDown);

 

I've tried this also on the RadCalendar (calendar.KeyDown += ...), to no effect.  Where should I place KeyHandler to get the popup Calendar to ignore Backspaces?

 

Thanks for your attention,

Richard

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jul 2021
2 answers
122 views

I need to draw 2,520 square shapes on a RadMap. I have the  locations (let, lng) of each square. They should have different colors (as in the attached image)

 When I use polygons to draw the squares, I face 2 issues:

(1) it takes very long time to complete the drawing of 2520 squares,

(2) I run out of memory as this process takes over 3 GB of memory.

Is there a better way to do this task?

 

Hristo
Telerik team
 answered on 08 Jul 2021
2 answers
81 views

I have tried to use <span style="font-family: 'Segoe UI'; color:gray; font-size: 12">Forename</span> but I do not believe the font is being applied. I use this style when the row is selected within a WinForms RadGridView. If the row is not selected (as a test) I have the same HTML markup without the font-family style and a different font is loaded (not sure which).  

The screenshot shows the highlighted row in purple. Notice the lower curl of the g and y is present - whereas on the unselected rows - these letters have that part missing.

 

Note: The rendering of the grid take a very long time - as if it is failing to render rows with this font and so falls back to a default

 

Could you explain the problem?

Paul
Top achievements
Rank 1
Iron
 answered on 08 Jul 2021
1 answer
102 views

I am trying to work on a scheduler interface that will allow a user to enter appointments.

The system is working when I apply no filter and load data through the following:

try
{
entities.Appointments.Load();
schedulerBindingDataSource1.EventProvider.DataSource = entities.Appointments.Local.ToBindingList();//filteredAppointmentsByLocation;
this.radScheduler1.DataSource = schedulerBindingDataSource1;
}

The above works and allows me to add, edit and delete without issues.

If I try to add a filter to get specific information:
var filteredAppointmentsByLocation = entities.Appointments.Local.ToBindingList().Where(x => x.LocationID.Equals(ActiveLocation));

and set this as the datasource, I cannot add new items when I do entities.SaveChanges().  I get an error saying it cannot add to a read-only or fixed-size list.  Edits are saved, deletes are not done.

Please advise

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jul 2021
1 answer
291 views

Hello

When i use RadprintDocument to print a radgridview in a winform ,i have a problem that the logo used in the left header section shrinking m
I have found a question in your forum,and i follow your instructions to solve this problem but still not working;

can you give me some help by sending a small sample in vb.net please...

thx in advance

Regards

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jul 2021
1 answer
514 views

So I use the RadAutoCompleteBox to list many options a user can pick that are then added to another textbox.

So once they select it, I take that "Token" and copy it to a "Selected Box".

How would I go about Removing the token after I have copied it in the token validating event.

 

Thanks

 

Rog

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jul 2021
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
+? 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?