Telerik Forums
UI for WinForms Forum
0 answers
118 views

I seem to spend a lot of time searching through the properties of controls, trying to find out why one looks just a little bit different from another.

Todays example:

why is the (x) button slightly out of allignment with the other three ?

Does anyone know of a way to do a comparison of all of the properties of two controls of the same type (even when those controls are LayoutControlItems) to make this easier? Telerik adds so many more properties, many of which are only visible in the Telerik property Builder UI, and that is modal, and has loads of properties to check.

Any ideas? Or is there a simpler way of doing this?

Ian
Top achievements
Rank 2
Bronze
Iron
Iron
 asked on 10 Jan 2023
0 answers
98 views

RadControlSpy

So if I wanted to modify a value (example: Visible = Collapse) in this highlighted element of RadScheduler. How do I do that? 

Thomas
Top achievements
Rank 1
 asked on 09 Jan 2023
1 answer
91 views

I am trying to mousedown on a appointment in the scheduler and want to grab the EventId and place into a variable that I declared.

My Scheduler is in Timeline / Resource View mode.


 private void radScheduler1_AppointmentMouseDown(object sender, SchedulerAppointmentMouseEventArgs e)
        {
           
            
        }
Anyone?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Jan 2023
1 answer
239 views

Here is some sample code:

Imports Telerik.WinControls
Imports Telerik.WinControls.UI

Public Class RadForm1
    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        RadOverlayManager.Show(Me)
        For x = 0 To 1999999999

        Next
        RadOverlayManager.Close()
        RadMessageBox.Show("You will never see this.", "Nope", MessageBoxButtons.OK, RadMessageIcon.Info)
    End Sub
End Class

What you'll see is, the overlay will appear and disappear as expected.  However the radmessagebox will never appear. 

If you comment out the overlay lines, then the message box will appear.

Looks like a threading issue, but I'll leave that to the professionals to figure out. =)

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Jan 2023
2 answers
96 views
Its happen when I use FilterView by the datagrid and entire column is empty (null)
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Dec 2022
2 answers
81 views

Hi,

when I want to export datagrid to pdf I get error:

Invalid XHTML. RadGrid has to render correct XHTML in order to export to PDF. Parse error: char (hexadecimal value 0x1F) is an invalid character.: row 34411, position 13 at line: <td>60045685_0002</td>

Problem is in value 60045685_0002 - export without this value is correct.

Radek
Top achievements
Rank 1
Iron
Iron
 answered on 29 Dec 2022
2 answers
231 views

I want to rename column, for example from gridViewTextBoxColumn9 to col_Name and then get access from code.

Instead dataGridView1.Columns["col_Name"].IsVisible = true I want to write col_Name.IsVisible = true

It is possible?

Radek
Top achievements
Rank 1
Iron
Iron
 answered on 29 Dec 2022
2 answers
243 views

Hi,

I just noticed a terrible bug when trying to bind a list of business objects on a DropDownList :

Setting the DataSource erases both property values previously set on the designer.

Setting the DisplayMember through code works but as soon as I try to set ValueMember, it erases DisplayMember and doesn't set ValueMember either !!

        ddlLines.DataSource = lineService.GetAllLines();
        ddlLines.DisplayMember = nameof(Line.LineName);
        ddlLines.ValueMember = nameof(Line.LineId);


Here is the class :

public class Line
{
    [BrowsableAttribute(false)]
    public int LineId { get; set; }

    [DisplayName("Souche")]
    [Column(Order = 0)]
    public string LineName { get; set; }
}

This happens on a DropDownList inserted on a form and also inside a RibbonControl

Is this serious ??

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Dec 2022
1 answer
275 views
As of the beginning of December, the RadMap is failing to get maps from the BingRestMapProvider and the OpenStreetMapProvider. When registering the provider the connection is getting forcibly closed on the server side. Has something changed? Is there an ETA on when the server side issue will get resolved?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Dec 2022
1 answer
1.2K+ views

Hi all.

Question: is it possible to translate (back and forth) mouse coordinates in RadPdfViewer to PDF coordinates on the relative page?

I do not need location inside Telerik internal document representation nor on screen but on the PDF representation for interoperability with other tools.

What I mean by PDF coordinates: a coordinate system where the unit is 1/72th of an inch, having the origin (coordinate 0,0) at the bottom left of the page, and X Y increase toward the top right corner, for example an A4 bottom left coordinates are (0,0) top right  (597.6 , 842.4) 

The desired effect would be something like

 

public (int pageNo, float pdfX, float pdfY) GetPdfCoordinates(RadPdfViewer viewer,  Point mouseEventLocation){
public (int pageNo, int X, int Y) GetViewerCoordinates(RadPdfViewer viewer, int page, float pdfX, float pdfY);

Reasons: I am currently using other libraries only for that specific purpose but the telerik pdf viewer is just as good except for this important feature that allows software to interoperate with third parties PDF tools.

Thank you all.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Dec 2022
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
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?