Telerik Forums
UI for WinForms Forum
2 answers
382 views

Hello, 

I'm facing a little problem concerning the radVirtualKeyboard control. I'm located in France and I would like the virtual keyboard to have the AZERTY-laoyout. No matter If I use the property SynchronizeCultureWithSystem or if I set the culture info manually, the keyboard only adapts some of the keys but the general layout remains QWERTY. 

I'm using the code 

radVirtualKeyboard1.SynchronizeCultureWithSystem = false;
radVirtualKeyboard1.VirtualKeyboardElement.CurrentCulture = new System.Globalization.CultureInfo("fr-FR", false);

This is the result: 

The code
radVirtualKeyboard1.SynchronizeCultureWithSystem = false;
radVirtualKeyboard1.VirtualKeyboardElement.CurrentCulture = new System.Globalization.CultureInfo("de-DE", false);

leads to this result which is not correct as well because the german keyboard layout is QWERTZ

Is there maybe another property to set to apply the culture info to the entire keyboard?

Thank you in advance and have a nice day!

Jana

Jana
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 28 Sep 2021
1 answer
182 views

How can I hide the lines between the rows? (I use Office2019 theme)

I already tried this:

        private void RadGridView_CellFormatting(object sender, CellFormattingEventArgs e)
        {
            e.CellElement.DrawBorder = false;
        }

Gridlines are gone but the horizontal lines are still there.

Nadya | Tech Support Engineer
Telerik team
 answered on 28 Sep 2021
1 answer
152 views

Hi Team,
          In Our application we are using the Telerik RadGridview, in that while we navigating the Next icon in the condition of there is no entries the Grid headers are not displaying. It Should show like the ScreenShot. I have added the video for your reference. Please  do the needful.

Video link : https://ttprivatenew.s3.amazonaws.com/pulse/suganya-gmail/attachments/17976581/TinyTake27-09-2021-02-48-42.mp4

ScreenShot : https://prnt.sc/1ttpo5j

Hristo
Telerik team
 answered on 28 Sep 2021
1 answer
356 views
I'm using Telerik RadGridView for WinForms.  Its data source is a table in a DataSet.  The grid view allows user to add, update, and delete rows.  Below is how the row update is done:

private void radGridView2_CurrentRowChanged(object sender, CurrentRowChangedEventArgs e)
{
    if (e.OldRow == null)
    {
        return;
    }

    DataRowView dataRowView = e.OldRow.DataBoundItem as DataRowView;
    if (dataRowView != null)
    {
        DataRow dataRow = dataRowView.Row;
        if (dataRow.RowState == DataRowState.Modified)
        {                    
      tableAdapter.Update(dataRow);
        }
    }
}

What I would like to accomplish is when user press the DEL key on a row, the row is still removed from the grid view but not from the backend database table. Instead, I would like to have an Update on the database table row's colunm (MarkedForDeletion) with a new value.

I'm thinking about intercepting the delete events (UserDeletingRow, or UserDeletedRow, or ?), and then manipulate the DataRow object and then call the tableAdapter.Update(dataRow) as above.  What exactly do I need to do?

Thanks!
Hristo
Telerik team
 answered on 27 Sep 2021
1 answer
131 views

Hello,

I would like to use the virtualKeyboardForm in a WinForms application on a tablet. I would like to know if it's possible to fire event when pressing specific keys.

For example: if I click on the cross in the top right corner of the virtualKeyboardForm, I want that the associated textbox is not focused anymore. Or that if I click on Enter, the keyboardform will close automatically and the associated textbox loses its focus.

Is there a possibility to achieve this?

Thank you in advance and have a nice day!

Hristo
Telerik team
 answered on 27 Sep 2021
1 answer
98 views

Hello,

I am trying to get the screentip with a rounded corner. I have changed the Shape to RoundRectShape. Although, the shape is now rounded rect, but I still see the corner is painted with some other color.

Below is the code of my custom screentipelement

Padding = new Padding(4, 0, 4, 0);
ForeColor = Color.White;
Shape = new RoundRectShape(4);

ScreenTipFill.GradientStyle = GradientStyles.Solid;
ScreenTipFill.BackColor = Color.Blue;

ScreenTipBorder.BoxStyle = BorderBoxStyle.SingleBorder;
ScreenTipBorder.ForeColor = Color.Blue;

This is my output

Thanks

Todor
Telerik team
 answered on 22 Sep 2021
3 answers
153 views

Hello,
I use a event View_CreateCell  to set custom filter cell element but the event not fire for all columns in grid. How can I change that?

private void ListaPlikowRadGridView_CreateCell(object sender, GridViewCreateCellEventArgs e)
        {
            if (e.CellType == typeof(GridSearchCellElement))
            {
                e.CellType = typeof(MyGridSearchCellElement);
            }
           
            if (e.CellType == typeof(GridFilterCellElement) && e.Column.GetType() != typeof(GridViewTextBoxColumn))
            {
                e.CellElement = new CustomGridFilterCellElement(e.Column as GridViewDataColumn, e.Row);
            }
        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Sep 2021
1 answer
641 views

Hello everyone,

 

I have a little problem with the property StartPosition of a radForm.

When I create a radForm which will be opened with ShowDialog as a modal window at runtime, the start position CenterScreen is not applied. Depending on the size I choose, the modal is sometimes not even fully visible on the screen. How can I resolve this?

I've uploaded a test project which shows the problem:

https://easyupload.io/n58n8v

Thank you in advance and have a nice week!

Stoyan
Telerik team
 answered on 20 Sep 2021
5 answers
89 views
Hi.

Using dll version 2021.2.615.40

I want to use the "Move to Previous Tab Group" included in the demo application, but it is not displayed in my application.

Are there any conditions under which this menu item is valid?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Sep 2021
1 answer
146 views

Hi 

I have added points to RadMap and on each point I have placed an image and a text (as shown in the attached screenshot image). 

My questions

1) can I move the text below the point because it is currently on top of the added image ?

2) can I add a background color to the text to make sure it is visible to end users?

 

The code I am using is below:

    PointG racheer = new PointG(Latitude, Longitude);
    MapPoint point = new MapPoint(racheer);
    point.Image = Properties.Resources.myImage;
    point.Size = new Size(15, 15);
    point.Text = "TEXT";
    point.ForeColor = Color.Red;
    radMap1.MapElement.Layers["myLayer"].Add(point);

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Sep 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?