Telerik Forums
UI for WinForms Forum
1 answer
84 views
When I click in the top row to type in a new row value, the CurrentRowChanged event is fired.  I have other code in this event, that I do not want to run when adding a new row.  So I need to trap this so the code will not run in the event.  I did not have this problem until I updated to the latest controls.  
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Feb 2021
12 answers
601 views

hi

i use paging in my winform grid view.everytrhing is ok.

but i wanna customize the panel paging. for example disable ShowFastBackButton and ShowFastForwardButton in panel paging.

in this page it said that :

There are a number of properties, which allow you to customize the paging panel to your specific needs. You can access these properties through the RadGridView.GridViewElement.PagingPanelElement.

i want change these properties in design time not by code, but i cant find any of these properties in property grid or in property builder.

i have another question and that is about TextBoxStripElement in paging panel. iwant localize that and put my text intead of page and of in TextBoxStripElement.

is there any solution for these two question?

Best Regard

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Feb 2021
4 answers
196 views

Hi: 

I am having an issue with "changing the selected line color", which was replied earlier in the forums.
I am doing the same as explained here, but the background color does not change while the text of the line changes.

private void rgvCompanyList_ViewRowFormatting(object sender, RowFormattingEventArgs e)
        {
            if (e.RowElement.IsSelected && e.RowElement.IsCurrent)
            {
                
                e.RowElement.DrawFill = true;
                e.RowElement.GradientStyle = GradientStyles.Solid;
                e.RowElement.BackColor = Color.Black; // It doesn't work !
                e.RowElement.ForeColor = Color.White; // It works
                // e.RowElement.NumberOfColors = 1; that didn't work either 
            }
            else
            {
                e.RowElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
                e.RowElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
                e.RowElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
                e.RowElement.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local);
                // e.RowElement.ResetValue(LightVisualElement.NumberOfColorsProperty, ValueResetFlags.Local);
            }
        }

özer
Top achievements
Rank 2
Veteran
Iron
 answered on 24 Feb 2021
3 answers
289 views

How can I add clickable map pins (or points) to RadMap in WinForm? 
I have already added Points  to the radMap but I want to create Events (Mouse click) and (Mouse hoover) on those points. 

Could you please help?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Feb 2021
1 answer
194 views

Hi,

I have a situation where I am struggling with data synchronisation. Using the merging functionality of a dataset with DataTables, my app is able to run in offline mode and synch back to the SQL server database using the AcceptChanges and Merge operations. When calling the merge operation, you can PersistChanges. When you do that, what is in the offline datasets overrides the database. When you do not persist changes, what is in the database overrides the local inline changes.

Now, this is fine for a single user but what if the application (a time management console in my case) was installed on multiple servers and the database is updated by multiple instances of the application?

I know Microsoft Synchronisation services used to handle this, but now I am stuck. I could get column changes and populate a temporary table with changes processed by a job or windows service. However, is there an easier way?

FYI, I use a Telerik radGrid to display activity data with numerous other tables that run in memory such as client/project/content data. However, the main data I am trying to sync is the activities.

Has anyone been able to achieve something similar by using datasets and the DataTable merge operation? I would love to hear from you.

Cheers, James

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Feb 2021
1 answer
1.5K+ views
Can you tell me if I can do winforms .net 5 application that implements DI and EF core? Any ideas? Thanks a million.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Feb 2021
2 answers
1.9K+ views

Hi,

Is it possible to open a context menu's sub menu item programmatically?

I have a context menu with sub menu items, as shown in the attached image.

I know how to show the context menu in a particular location but I can't find a way of also opening/expanding sub menu "Item 2" so that menu items "Sub item 1" and "Sub item 2" are shown to the user.

Not sure if it make any difference but, the context menu is activated by right click on a RadGridView. 

Thanks,

Arash


Arash
Top achievements
Rank 1
Veteran
 answered on 19 Feb 2021
1 answer
118 views

Hello,

is it possible to show pop-up infos (like in Windows everywhere) to your controls? A search doesn't Show ANY Information About that which surprises me extremely. Especially I want to show the complete entry of this RadDropDownList when it is too Long to show in the list.

Thank you in advance!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Feb 2021
4 answers
123 views

How do you align the text in the TextBox area? 

I tried both CheckedDropDownListElement.EditableElement.TextBox.Alignment

and also CheckedDropDownListElement.TextBox.Alignmentbut but neither has any affect.

It is always TopLeft.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Feb 2021
1 answer
240 views

Hello,

We are having an issue with our application on high DPI monitors. When the PdfViewer loads a document, it resizes the whole application. The issue only occurs with the published application. It does not happen on debug mode. See attached video.

Thank you,

video: https://drive.google.com/file/d/1N_JkCRQ6GNOYgsL3PrwOYm0hOBPpaGn8/view?usp=sharing

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