Telerik Forums
UI for WinForms Forum
1 answer
333 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.7K+ 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
2.1K+ 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
194 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
194 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
312 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
5 answers
1.6K+ views
When I drop a RAD control on a form, the control does not show on the design surface of the form - it goes to the components section of the form (where timers and dialogs components are shown).

Do I have a bad build? I'm using the .dll's only, not a full install of the 2011 Q1 release.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Feb 2021
5 answers
202 views

Hi,

I need to host radpopupeditor in radcommandbar. i know i have to use radHostItem. It was possible to do but there was no way to set the associatedControl for the popupeditor because its Element does not have this property. here is the code i managed to get so far:

 

            Dim cont As New RadPopupContainer
            cont.Controls.Add(New tempControl With {.Dock = DockStyle.Fill})
            Dim pop As New RadPopupEditorElement
            pop.??? = cont
            hostFilter.HostedItem = pop

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Feb 2021
1 answer
166 views

Hello I have a problem with operators wrapped with special characters.

For example when registering the parentheses as operators it works if the previous and next characters are not special characters like the example below.

select SUM(firstColumn) from myTable;

But if the previous or next character of parentheses is a special character, it does not recognize the parentheses as operators.

select SUM(*) from myTable;

How can I make it so that the registered operators are highlighted even if it is wrapped with special characters?

 

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

I have two problems with SyntaxEditor.

First problem is when any special characters are followed by -- other than a space, it is not treated as comment.

How can I make it so that it understands the second comment below is a comment line? (Any way to override a comment REGEX?)

-- testing working comment
--- testing not working comment

 

Second problem is when the keywords wrapped around with any special characters in a non-keyword are recognized as a keyword.

In other words, the word TEST_TABLE is one word and is NOT a keyword, but because TABLE is a keyword and it is wrapped with _ and a end of line, TABLE is highlighted.

How can I make it so that those keywords to be highlighted only when it is wrapped with start of line, end of line or a space? 

SELECT * from TEST_TABLE

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 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
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
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?