Telerik Forums
UI for WinForms Forum
2 answers
338 views

Hello community!!!

I am working on a small project with a "RadForm" which contains a "RadPageView". This "RadPageView" has been set to "NavigationView" mode. It contains four pages (RadPageViewPage) and one of them is "Settings" page.

What I am trying to do is...

When user makes any change on settings page and try to change page, takes a message. If user choose to save changes, program saves changes. Else just goes to clicked page.

My problem is...

As you can see in my code, I want user to remain in settings page when choose to save changes ( Main_radPageView.SelectedPage = Settings_radPageViewPage; ). In my code, program saves the changes but it goes to the page which clicked before!!!

        private void Settings_radPageViewPage_VisibleChanged(object sender, EventArgs e)
        {
            if (!Settings_And_SettingsFields_AreEqual())
            {
                DialogResult Dialog_Result = RadMessageBox.Show(this, "You have make changes on settings. Do you want to save them?", "Message", MessageBoxButtons.YesNo, RadMessageIcon.Info);
                if (Dialog_Result == DialogResult.Yes)
                {
                    // Code...
                    Main_radPageView.SelectedPage = Settings_radPageViewPage;
                }
                else
                {
                    // Code...
                }
            }
        }
Any idea how can I achieve that? Am I using the "correct" event (VisibleChanged)?

Thank you for your time!!!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2022
1 answer
295 views

I did a search and found this thread from... 13 years ago: https://www.telerik.com/forums/radmessagebox-focus-on-buttons-in-mdi-app

Wasn't sure if I should necro it or not, but regardless, is there a way around this?  For example, when I do a .Show on it I expect it to have focus and also that a button on there have focus.  Especially if its just an "ok" button, as with the default .NET msgbox I could just hit the spacebar to continue.  As it is, you HAVE to use your mouse to select the button.

Also, there's no TAG for the radmessagebox here on the forum so I used "messageBox"

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Aug 2022
1 answer
492 views

When I open a solution in Visual Studio, it often goes into a non-responsive state, with the following report:

The product I use is Telerik WinForm and it is in Trial status.

 

The Korean message below is translated into English as follows.

"This may cause Visual Studio to become unresponsive. Disabling extensions can improve your experience. Frequency: 6 reports from last week."

Vesko
Telerik team
 answered on 23 Aug 2022
1 answer
143 views

Hello,  I am developing a RFID RTLS map that uses an API to obtain a floorplan image, zone polygon coordinates and item X/Y location.  I am trying to use the Map control with the LocalMapProvider however the background image is being duplicated when zooming and scrolling.  I understand why this is happening.  Also all of the properties and functions in the map control should work perfectly.  The problem is the background image.  Since I only have a single static image is the Map control the best control to use?  Can I force the map control to not replicate images and force the polygon points XY to start based on the top left of the image?  Mind you the item location will need to be updated in real time so I wasn't sure if using a report viewer would be the ideal solution. 

Thoughts?
Brian

Dinko | Tech Support Engineer
Telerik team
 answered on 23 Aug 2022
1 answer
400 views
I'm trying to show a topology structure of a hardware system via radDiagram, however, didn't find the way to display a image inside a RadDiagramShape.  Someone help me plz?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
1 answer
198 views

Hello community!!!

I want to change the color of "radWaitingBar" dots programmatically.

I tried something like this (I found it into my form designer) but with no luck...

((Telerik.WinControls.UI.WaitingBarSeparatorElement)(this.PatchSwitch_radWaitingBar.GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(121, 191, 80);
Any idea how can I do this?

Thank you for your time!!!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
1 answer
282 views

Hi Telerik,

Trying to find trackball behavior, but I actually need to display a horizontal line, that crosses the given ScatterLineSeries  and starts at the corresponding vertical axis. (Attached an example image.)

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
1 answer
192 views

Hello,

Is it possible to prevent RadTreeView entering edit mode when you click on a selected node?  We would still like nodes to be editable but only when the user presses F2 or when we programmatically enter edit mode.

Thanks,

Hayley

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
1 answer
141 views

Hello,

I haven't seen this in the demos or documentation (yet?). is it possible to display bars, lines or sparklines in the cells of a pivot grid ? is this supported by a public method or property? can this be programmed? is this difficult or extensive?

thanks in advance

Rolf Kaleveld

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
0 answers
546 views

Telerik UI for WinForms controls used to be automatically added to Visual Studio's Toolbox during the installation process when using .NET 2.0 (up to 4.8) Framework in your project. This means that the Toolbox population relies on the Telerik WinForms version available in the Global Assembly Cache.

With the introduction of .NET Core/.NET 5 and the WinForms designer, the Toolbox configuration doesn't rely on the GAC anymore and it is not necessary to have an installation of the Telerik UI for WinForms suite. The Toolbox version depends on the installed NuGet package:
https://docs.telerik.com/devtools/winforms/core/core-toolbox-version

There is a known issue that any UserControls/ custom controls don't show up in the toolbox for a VB  project with .NET6.  Even the RadControls are not loaded in the toolbox. 

This seems to be a known issue introduced in Visual Studio 2022 17.3 only for VB project with .NET6. Microsoft are currently working on the issue and I believe that an update will be introduced with the fix: https://developercommunity.visualstudio.com/t/Custom-and-User-Controls-not-shown-in-To/10118197 

 
Dess | Tech Support Engineer, Principal
Telerik team
 updated question on 22 Aug 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)
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?