Telerik Forums
UI for WinForms Forum
4 answers
181 views

Hi,

I have a problem. We have migrated from old library to RadPageView and everything is working, except ShortCuts to specific tabs. In previous library we had feature that, we can add & before letter and it has been using as a shortcut to this tab. Also this char has underline under themselves. Is if possible to do it in Telerik? I was looking for it, but without success

Thank you in advice for any answers.

Best regards,

Patryk

Patryk
Top achievements
Rank 1
 answered on 19 Apr 2021
3 answers
984 views
hey,
    is there a property that shows/Hides the grid's gridlines and I can change it in runtime?
thank you
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Apr 2021
2 answers
118 views

Hello

I need to open the contextmenu of a radgridview without having the current row changed.

Can I identify if the right mouse button is clicked and cancel the current row changing

or do I need to open the menu from the MouseUp event, in which case I need to identif the row on which the right mouse is click event is fired

Thanks in advance

Best Regards

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Apr 2021
1 answer
98 views

Hi,

i need to create a custom RadDiagramConnector with custom shape then add it to a shape like RoundRectShape and i should connect from  it with a drag operation to another RoundRectShape and create programmaticalli the connection.

It is possible to have a complete example

Thanks in advance

 

Raffaele Z.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Apr 2021
13 answers
589 views
Hello:

Our users noticed today that RadMessageBox throws an error if additional calls to Show are made while the original dialog is still open. Our application uses BackgroundWorker, so processes alerting the user to their completion is a normal activity. This can result in multiple modal dialogs showing up all at the same time, which is acceptable.

Until recently, we used the built-in WinForm MessageBox. We switched over to get the common look and feel. However, now we are getting this error: Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling showDialog.

We don't want to go back to the ugly MessageBoxes, so it would be nice if there was a way for RadMessageBox to overcome this problem.

Thanks,
Travis Parks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Apr 2021
9 answers
568 views
We are experiencing a few useability issues with the date picker.  They are so frustrating for our customers that I've spent a few days trying to hack together a custom rad element that works as needed both in standard form editing, and in in-line grid editing.

I am not having much success building a custom date picker element due to issues with the RadMaskedEditBox.  I'm hoping you have work arounds or configurations I'm missing within the standard date time picker.  Here are our issues:

1. User clears the date picker with the Delete key and opens the Calendar.  It defaults to 01/01/1900 (the current NullDate) which is virtually useless.  The masked edit box behaves similarly when the user begins editing a date picker that is cleared.
2. Users are having difficulties getting used to the masked edit box.  How can we modify the control to accept "04172008" and format it "04/17/2008". Note: we still must enforce valid day/month/years, but do not want to require users to type the "/" or arrow key to the next section.

Any guidance is much appreciated.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Apr 2021
3 answers
1.8K+ views

Hello,

 

I'm trying to use RadGridView to export a datatable to Excel.  I've created a method that takes a datatable as a parameter, creates a RadGridView, sets the dataSource to the datatable, and then exports.  Problem is that the RadGridview doesn't seem to be getting populated with the contents of the dataTable.  I feel like I'm missing something like 'gridView.DataBind();' but I can't find anything like that in the documentation.  Code is below:

public static void ExportToExcel(DataTable myDT)

        {             using (Telerik.WinControls.UI.RadGridView grid = new Telerik.WinControls.UI.RadGridView())

            {

                grid.AutoGenerateColumns = true;

                grid.DataSource = myDT;

                //grid.LoadElementTree();

                //grid.Refresh();

                GridViewSpreadExport spreadExporter = new GridViewSpreadExport(grid);                 SpreadExportRenderer exportRenderer = new SpreadExportRenderer();

                spreadExporter.RunExport("c:\\exportedFile.xlsx", exportRenderer);

            }

        }

Nadya | Tech Support Engineer
Telerik team
 answered on 09 Apr 2021
5 answers
1.0K+ views

Hello there,
I have some question about working with RadScrollablePanel.

Sometimes the RadScrollablePanel does not correctly display the scrollbars. For example, I use RadLabel bounded by width of RadScrollablePanel (using the dynamically changeable MaximumSize property). 
I noticed that the vertical scrollbar does not always appear if the height of RadLabel and height of RadScrollablePanel.DisplayRectangle differ by about 10 pixels (at 96 DPI and Segoe UI 8.25pt font). This is clearly seen in example 1.
If we change width of RadScrollablePanel by a few pixels, we will see a different picture. A vertical scrollbar will be displayed on the screen and everything will look like it’s supposed to be. Keep in mind that the height of the elements remains unchanged. This is seen in example 2.
But that's not all. If we change the RadForm size a little more again, then we will see that the vertical scrollbar disappeared from the screen again; however, it's marked as Visible = True and if we take the focus on RadScrollablePanel, we can scroll the content using mouse wheel for example. This is seen in example 3.

Example 1: https://c2n.me/3ZabLEg
Example 2: https://c2n.me/3Zaclrf
Example 3: https://c2n.me/3ZacJol

At first sight, this may seem like a minor bug. However, considering that RadForms (or another container) with a fixed size can be used, and the text itself can change dynamically during operation, this bug causes problems with displaying information for users.
What guidelines can you give to work with RadScrollablePanel to prevent this bug?
Below I attach project with example. Please change extension from JPG to ZIP. 

I use Telerik 2018.3.1016.20 with .Net 3.5 on Win7

Best regards. 

Nadya | Tech Support Engineer
Telerik team
 answered on 08 Apr 2021
6 answers
299 views
Hello,

Is it possible to add an image to a Column Header instead of Text?

Many Thanks for your previous support/help.

LM
Nadya | Tech Support Engineer
Telerik team
 answered on 08 Apr 2021
2 answers
150 views

HEllo

I would like to display a lower case greek delta in the header of a grid view

in the view formatting event I use the following

                If e.CellElement.Text = "D" Then
                    e.CellElement.ColumnInfo.HeaderText = "d"
                    e.CellElement.Font = New Font("Symbol", MyPreference.Font.Size, FontStyle.Bold)
                Else
                    e.CellElement.ResetValue(VisualElement.FontProperty, ValueResetFlags.Local)
                End If

and it displays a latin lowercase "d"

However if I set a upper case latin D :

                If e.CellElement.Text = "D" Then
                    e.CellElement.ColumnInfo.HeaderText = "D"
                    e.CellElement.Font = New Font("Symbol", MyPreference.Font.Size, FontStyle.Bold)
                Else
                    e.CellElement.ResetValue(VisualElement.FontProperty, ValueResetFlags.Local)
                End If

I do get a Greek uppercase Delta

Any clue why it does not work for the lowercase ?

Thanks a lot for any suggestion

Best regards

Pierre-Jean

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 07 Apr 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
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?