Telerik Forums
UI for WinForms Forum
1 answer
100 views
I want to be able to create the 'groups' and in each gro omegle up the 'items' dynamically based on a temp-table like: *def temp-table ttListfield ttList.groups as charfield ttList.items as charindex Gpr is primary unique grou xender ps items.For each ttList by groups by items: .......end. 

 
 
Thank you
enuru
Top achievements
Rank 1
 updated question on 27 Feb 2022
3 answers
243 views

Hi,

I need to use a RadSyntaxEditor in ReadOnly mode and i want to disable the replace functionality while letting the user to search for a specified string.

I've tried to find a way to hide or disable the replace part in the Find Dialog, but I've had no success.

Any suggestion on how can I achieve this ?

Thanks.

A suggestion: It would be nice to have a read only property at the RadSyntaxEditor level that disable everithing that implies a modification to the text (editor, commands, find dialog and so on).

Luca
Top achievements
Rank 1
Iron
 updated answer on 25 Feb 2022
1 answer
88 views

In chart below I had to use 2 category axes to get a trend line to appear in the same zone.

The only problem is that the line series is being drawn behind the stacked bars. I've tried adding axes in the opposite order, added the line series first, then after all the bar series. No difference.
I thought then maybe I could make the pale coloured bars translucent, but the CreateRenderer event isn't being called, I even tested that in a new project, so I gave up on that idea.
Another problem is that I've set the chart to showgrid = true. That's not being shown either.

Can somebody help please?

 

private void CreateChartComponents()
    {
      #region Code
      try
      {
        _categoricalAxis1 = new Telerik.WinControls.UI.CategoricalAxis();
        _categoricalAxis2 = new Telerik.WinControls.UI.CategoricalAxis();
        _linearAxis1 = new Telerik.WinControls.UI.LinearAxis();

        _categoricalAxis1.IsPrimary = true;
        _categoricalAxis2.IsPrimary = true;

        _categoricalAxis1.ShowLabels = false;
        _categoricalAxis2.ShowLabels = false;
        _categoricalAxis2.IsVisible = false;

        _linearAxis1.AxisType = Telerik.Charting.AxisType.Second;
        _linearAxis1.IsPrimary = true;

        chart.Axes.Clear();
        chart.Axes.AddRange(_categoricalAxis1, _linearAxis1, _categoricalAxis2);

        _barSeriesNormal = new Telerik.WinControls.UI.BarSeries();
        _barSeriesUnder = new Telerik.WinControls.UI.BarSeries();
        _barSeriesOver = new Telerik.WinControls.UI.BarSeries();
        _lineSeriesTrend = new Telerik.WinControls.UI.LineSeries();

        _barSeriesNormal.HorizontalAxis = _categoricalAxis1;
        _barSeriesUnder.HorizontalAxis = _categoricalAxis1;
        _barSeriesOver.HorizontalAxis = _categoricalAxis1;
        _lineSeriesTrend.HorizontalAxis = _categoricalAxis2;

        _barSeriesNormal.VerticalAxis = _linearAxis1;
        _barSeriesUnder.VerticalAxis = _linearAxis1;
        _barSeriesOver.VerticalAxis = _linearAxis1;
        _lineSeriesTrend.VerticalAxis = _linearAxis1;

        _barSeriesNormal.CombineMode = Telerik.Charting.ChartSeriesCombineMode.Stack;
        _barSeriesUnder.CombineMode = Telerik.Charting.ChartSeriesCombineMode.Stack;
        _barSeriesOver.CombineMode = Telerik.Charting.ChartSeriesCombineMode.Stack;

        var seriesColor = Color.FromArgb(68, 102, 163);
        var trendColor = Color.Blue;

        _barSeriesUnder.BackColor = Color.AliceBlue;
        _barSeriesUnder.BorderColor = Color.AliceBlue;
        _barSeriesUnder.LegendTitle = "Under Performance";

        _barSeriesOver.BorderColor = seriesColor;
        _barSeriesOver.BackColor = seriesColor;
        _barSeriesOver.Shape = customShape1;
        _barSeriesOver.LegendTitle = "Over Performance";

        _barSeriesNormal.BorderColor = seriesColor;
        _barSeriesNormal.BackColor = seriesColor;
        _barSeriesNormal.LegendTitle = "Expected Performance";

        _lineSeriesTrend.BorderColor = trendColor;
        _lineSeriesTrend.BackColor = trendColor;
        _lineSeriesTrend.LegendTitle = "Trend";

        chart.Series.AddRange(_barSeriesNormal, _barSeriesUnder, _barSeriesOver, _lineSeriesTrend);
        chart.ShowGrid = true;
      }
      catch (Exception err)
      {
        Log4Net.Log.Error(err);
        throw;
      }
      #endregion
    }// function

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Feb 2022
1 answer
253 views

Winforms. Jan 2022 software version.
I'm converting a very old version of teechart chart into Telerik RadChartView

What I'm seeing is this

What I want is, as in the following chart, where the stacked bars are overlayed with a trend line.
In the above, the stacked bar and line series are both using the same horizontal category axis but the line chart is following on from, rather than overlaying the stacked bars. I did try creating a 2nd category axis but then the auto scaling of the 2nd axis wasnt the same as the first. Stacking the line series didn't work either

How do I fix this please? There's only 2 points defined for the trend chart.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Feb 2022
1 answer
102 views

Hi. Winforms. telerik Version=2022.1.118.40.

I'm trying to migrate an old TeeChart across to radchartview as part of moving 3rd party components to support 64 bit. Ive included the teechart and radchartview screen shots and a small app I extracted from my main solution. The data used to produce each chart is in the app although I stripped out the trend line. Mad colours used to highlight the zones. I've not worked on telerik version very much until I can see something that looks correct.

Chart is supposed to represent performance/compliance in exercising. Under + Normal should add up to 100%. Over represents over performance. I use "under" as the chart needs to highlight zero as a valid column.
I can't understand the mad chart I'm seeing.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Feb 2022
1 answer
127 views

Hello,

i have a RadGridView with a TableAdapter.

The TableAdapter is Filled with a View from a SQL Database.

In a 2. Form i modified the data with a Updatecommand.

How can i update the Data in the 1 Form/GridView??

Here my Code.


    Private Sub BindingNavigatorSaveItem_Click(sender As Object, e As EventArgs) Handles BindingNavigatorSaveItem.Click
        'Try
        If ValidateChildren() = False Then
            Exit Sub
        End If


        Me.ObjektdatenBindingSource.EndEdit()

        Me.ObjektdatenTableAdapter.UpdateObjekt(txtObjektname.Text, rdlStrassen.Text, txtHausnummer.Text, txtPLZ.Text,
                                                   txtOrt.Text, System.DateTime.Now, CInt(rdlBegehungsintervall.SelectedValue), txtMeldernummer.Text,
                                                    picObjekt.ImageLocation, CInt(rdlobjekttyp.SelectedValue), CInt(rdlsachgebiet.SelectedValue),
                                                    rdpletzteFeuerbeschau.Value, rdpNaechsteFeuerbeschau.Value, CInt(lblObjektNr.Text))

        objekte.V_objektdatenTableAdapter.Fill(objekte._Benutzer.v_objektdaten)
        'Catch ex As Exception
        'Console.WriteLine(ex.Message)
        'End Try
    End Sub

V_objektdatenTableAdapter is the Adapter in the 1. Form

 

Thanks Udo


Dinko | Tech Support Engineer
Telerik team
 answered on 23 Feb 2022
1 answer
99 views

I could not find Shape tool in RadRichTextBox under insert in menu bar.

Please find attached.

Dimitar
Telerik team
 answered on 22 Feb 2022
1 answer
147 views

I'm using the new TreeMap control and when I change the font to say Segoe UI 12 - for the boxes - it doesn't seem to have any effect.

So, I searched for the common VisualItemFormatting method but it does not exist on this control.

How can I change the text in the boxes and perhaps use HTML formatting as well?

Todor
Telerik team
 answered on 22 Feb 2022
1 answer
105 views
 

I have a RadGridView using cell Template have another radgrid causing vertical scroll lose postion when move horizontal scroll bar.

  

        <telerik:RadGridView Height="500" ItemsSource="{Binding XyzData}" AutoGenerateColumns="False" CanUserDeleteRows="False"
                             CanUserInsertRows="False" EditTriggers="None" CanUserSelect="False" RowIndicatorVisibility="Collapsed"
GroupRenderMode="Flat" RowHeight="18">
            <telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="A_ID" DataMemberBinding="{Binding A_Id}"/>
<telerik:GridViewDataColumn Header="DGroup" DataMemberBinding="{Binding D_Group}"/>
<telerik:GridViewDataColumn Header="UID" DataMemberBinding="{Binding U_Id}"/>
<telerik:GridViewColumn Header="Recommendation" CellTemplate="{StaticResource RecommendationItemTemplate}" />
</telerik:RadGridView.Columns>
        </telerik:RadGridView>

 last column Template have another RadGridView, when scroll horziontal scroll bar to right  and last columns comes to view sate vertical scroll bar jumping  and row height changing based  on radgrid size in cell. is their a solution not to jump vertical scroll bar keep  same postion when scroll horiziontal scroll bar. thanks

 

Dilyan Traykov
Telerik team
 answered on 21 Feb 2022
1 answer
250 views

I know that when you select a node this event is called.

If you select another node, it is called TWICE.

 

Is there a way to know which it is calling it for (Unselecting or Selecting).

This way I can skip code on the unselecting one and only do code on the newly selected node.

Thanks,

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Feb 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)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?