Telerik Forums
UI for WinForms Forum
1 answer
24 views

Hi, 

I have a control that is opened as a floating HostWindow. This control is composed of a RadPageView and a RadPanel and all these elements have the margins and paddings set to 0. Also, BorderStyle properties are set to None but I still see the borders there (see image attached).

There is any way to remove these borders?

 

Nadya | Tech Support Engineer
Telerik team
 answered on 05 Feb 2024
1 answer
241 views

Is the attached image possible within Telerik WinForms? 

We want a shadow effect on our top panel and a softer shadow effect on the right panel but we can't seem to get it working.

We tried using Shadows - Telerik Presentation Framework - Telerik UI for WinForms, and it does work when the panels aren't all docked but when we dock everything, the shadows are no longer visible.

We essentially want a panel with a Top dock style which we want a shadow under it, another panel docked to the right with a softer shadow to the left of it, and then a center panel which is docked with Fill (with all the relevant shadows appearing above this panel).

We're using Telerik 2020.1.113.40.

Any help is appreciated,

Thanks

Dinko | Tech Support Engineer
Telerik team
 answered on 27 Jan 2023
1 answer
68 views

Winforms, c#, version 2022.3.1109.40,

I know it must be me, but I'm testing gradient fill on a radpanel, but theres no change in appearance at either design or run time

Here's my extract from the designer file. GradientFill is set to linear which is the default.

private void InitializeComponent()
    {
      this.radPanel2 = new Telerik.WinControls.UI.RadPanel();
      ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
      this.SuspendLayout();
      //
      // radPanel2
      //
      this.radPanel2.Location = new System.Drawing.Point(112, 57);
      this.radPanel2.Name = "radPanel2";
      this.radPanel2.Size = new System.Drawing.Size(218, 107);
      this.radPanel2.TabIndex = 1;
      ((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(241)))), ((int)(((byte)(79)))));
      ((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(238)))), ((int)(((byte)(155)))), ((int)(((byte)(64)))));
      ((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(74)))), ((int)(((byte)(228)))), ((int)(((byte)(243)))));
      ((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).NumberOfColors = 4;
      ((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).GradientStyle = Telerik.WinControls.GradientStyles.Linear;
      ((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).PaintUsingParentShape = false;
      ((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(244)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
      //
      // Form1
      //
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.ClientSize = new System.Drawing.Size(800, 450);
      this.Controls.Add(this.radPanel2);
      this.Name = "Form1";
      this.Text = "Form1";
      ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
      this.ResumeLayout(false);

    }

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Dec 2022
1 answer
48 views

Dear all,

does anyone know how to change the BackColor ofthe RadDataEntry ValidationPanel.

I have tried various ways like setting it up at design time in Visual Studio,

or just before showing it at run time

                dataEntry.ValidationPanel.BackColor = Color.PapayaWhip;
                dataEntry.ShowValidationPanel = true;

and also via some event such as

  private void rdeDynamicInput_Initialized(object sender, EventArgs e)
    {
        ValidationPanel vpanel = (sender as RadDataEntry).ValidationPanel;
        if(vpanel != null) vpanel.BackColor = Color.PapayaWhip;
    }

Thanks for your answer

 
 
Maria
Telerik team
 answered on 09 Sep 2022
1 answer
51 views

Hello everyone,

Can you please give me some advice? I want to migrate code to Telerik components; there is a class(form) thas has all ui components (textboxes, buttons, etc.) and functionality.

I need to give the user the ability to choose between a radwizard and a tabbedcontrol. But these two need to share the same functionality and ui components. because we don't want to repeat code. We've tried usercontrols, but the code that provides the functionality is so scrambled and depends on data and ui components from differect user controls?

Is there another way to do this? Maybe place the radwizard and tabbed form in a panel?

Thanks in advance,

Adriana

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Jul 2022
1 answer
58 views

Hello everyone,

I'm learning to use Telerik for winforms, but I have an issue with RadHostItem that hosts a Windows TableLayoutPanel that is generated at runtime and the RadHostItem is placed inside a RadDropDownButtonElement on a RibbonBar.

I'm using  RadHostItem.MinSize for the host that contains the TableLayoutPanel but I've tried a lot of ways to size the host height but neither of them is working as desired.

In what units RadHostItem.MinSize is defined?

For example, I have this code:

                Telerik.WinControls.RadHostItem radHost = new Telerik.WinControls.RadHostItem(panel);
                int heightPerRow = panel.GetRowHeights()[0]; // Height of a row in pixels,
                radHost.MinSize = new Size(panel.Width, heightPerRow * headerRow);

                radDropDownButton.Items.Add(radHost);

But this host is very big for the panel and it distorts it.

I'll appreciate any help.

Thanks in advance,

Adriana

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Jul 2022
1 answer
184 views

Would it be possible in the next release to expose the panel border visibility at design time in the properties window, rather than having to navigate through "Edit UI Elements" (or via code). I have a lot of panerls where I don't want to see the border at run time but do need to see it sometimes at design time.

 

Thanks

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Jul 2022
1 answer
239 views

Is there some simple method to stacking custom controls inside of a radpanel (or other element)?  I have a Radpanel that I want to add strips of custom FileUploadRecord Controls to that vertically stack.

I still need to wrap my head around docking, floating, anchoring, position, auto size, etc, but my current method of adding is:

pnlFiles.Controls.Add(new FileUploadRecord());

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Jun 2022
2 answers
56 views

Buonasera 

devo realizzare un pannello, contenete testo e immagini, scollabile in modo touch , cioè senza barra laterale,  attivando lo scoll con il mouse

"su e giu", sto provando con  scollablepanel  ma non so come attivare gli eventi scoll . 

e possibile avere una diritta ? magari c'e' un esempio in vb.net  ?

grazie

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Apr 2022
1 answer
116 views

I am required to call an API endpoint, which is return a list of strings. This I have working.

Each item within that list is a daily announcement which is a block of text, that needs to be displaying within a scrolling parent frame. Please refer to the attached .PNG file with a screenshot of the mockup I got from our project managers.

I am not sure which is the best way to do this, as I'm relatively new to Telerik Winform UI. I am looking at either a:

DataGridView
ListControl
List of labels within a panel.

Just trying to find the most effective and simple way to do this. Any suggestions?

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 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
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
Menu
RichTextEditor
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
Spreadsheet
ContextMenu
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Barcode
Styling
ColorBox
PictureBox
Callout
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?