Telerik Forums
UI for WinForms Forum
2 answers
121 views

Hello everyone.

      When I use the RadGridView control, the left-most column of my table is empty. I want it to be the number 1, 2, 3... that generates the automatic sequence. How to set up to achieve this effect.

hong
Top achievements
Rank 1
 answered on 25 Feb 2019
0 answers
59 views

hi

how can disable special LegendElement ?

i want the series in enable but title is disable

asghar
Top achievements
Rank 1
 asked on 23 Feb 2019
1 answer
94 views
how can i print only the currently selected line including its hierarchy ?
so not all lines of the grid dgvOrder but only a certain one !

my code
            GridPrintStyle style = new GridPrintStyle {
                PrintHierarchy = true
            };

            this.dgvOrder.PrintStyle = style;
            RadPrintDocument document = new RadPrintDocument {
                HeaderHeight = 50,
                HeaderFont = new Font("Arial", 16),
                Logo = Image.FromFile(@"Logo.png"),
                LeftHeader = "[Logo]",
                MiddleHeader = "",
                RightHeader = $"{Param.PrintProtocol.Order}\r\n{Param.PrintProtocol.Client}",
                ReverseHeaderOnEvenPages = true,
                FooterHeight = 55,
                FooterFont = new Font("Arial", 12),
                LeftFooter = $"Island: {Param.PrintProtocol.OperationIslandNo}\r\nKS: {Param.PrintProtocol.OperationCostCenter}\r\nOperation: {Param.PrintProtocol.Operation}",
                MiddleFooter = $"\r\n \r\n[Page #] / [Total Pages]",
                RightFooter = $"\r\n \r\nProtocol: {Param.PrintProtocol.OperationProtocolType}",
                ReverseFooterOnEvenPages = true,
                AssociatedObject = dgvOrder
            };

            RadPrintPreviewDialog dialog = new RadPrintPreviewDialog(document);
            dialog.ShowDialog();  

thanks !!
Hristo
Telerik team
 answered on 22 Feb 2019
4 answers
169 views

I have a couple questions regarding Panorama:

    s it possible to change the scroll type from horizontal to vertical

Dimitar
Telerik team
 answered on 22 Feb 2019
4 answers
89 views

Hello,

I found a weird behavior that if the text of RadGalleryItem is longer than the image width, the margin/padding settings will lost.

To reproduce the issue, I changed the demo from:

https://www.telerik.com/forums/radgalleryelement-display-issue

RadGalleryItem blueItem1 = new RadGalleryItem("blue 1", Properties.Resources.group);
this.radGalleryElement1.Items.Add(blueItem1);
blueItem1.TextImageRelation = TextImageRelation.ImageAboveText;
blueItem1.ImageAlignment = ContentAlignment.MiddleCenter;
blueItem1.Margin = new Padding(1);
RadGalleryItem blueItem2 = new RadGalleryItem("blue 222222222", Properties.Resources.group);
this.radGalleryElement1.Items.Add(blueItem2);
blueItem2.Margin = new Padding(1);
blueItem2.TextImageRelation = TextImageRelation.ImageAboveText;
blueItem2.ImageAlignment = ContentAlignment.MiddleCenter;
RadGalleryItem blueItem3 = new RadGalleryItem("blue 3", Properties.Resources.group);
this.radGalleryElement1.Items.Add(blueItem3);
blueItem3.Margin = new Padding(1);
blueItem3.TextImageRelation = TextImageRelation.ImageAboveText;
blueItem3.ImageAlignment = ContentAlignment.MiddleCenter;
RadGalleryItem blueItem4 = new RadGalleryItem("blue 4", Properties.Resources.group);
this.radGalleryElement1.Items.Add(blueItem4);
blueItem4.Margin = new Padding(1);
blueItem4.TextImageRelation = TextImageRelation.ImageAboveText;
blueItem4.ImageAlignment = ContentAlignment.MiddleCenter;

 

Please see the attach photo.

I've done 3 tests. First 2 tests work well as long as the text size is shorter than image width.

In the third one, I named on purpose blueItem2 with a long name "blue222222". In this case, I've lost all my margin settings.

 

Dimitar
Telerik team
 answered on 22 Feb 2019
3 answers
95 views

Dear All,

I have too many data to show. How to index it in the following figure

When you use a datagridview, it will be automatically added, but how do you do that in RadGridView

Is this possible...

Best regards

Hristo
Telerik team
 answered on 22 Feb 2019
0 answers
63 views
Dear all,

As shown in the image below, the text in my cell is displayed at the top center of the cell.

How do I make it appear in the middle of the cell

It's possible.

Best regards
Ricardo
Top achievements
Rank 1
 asked on 22 Feb 2019
0 answers
74 views
Hello everyone,

     When I use RadMenu, when I click the RadMenuItem control to enter WinForm, the RadMenuItem drop-down menu still appears in the window and does not disappear automatically. RadMenuItem drop-down menu will disappear only when I click another location. How can we set up the RadMenuItem drop-down menu to disappear automatically after entering WinForm?
hong
Top achievements
Rank 1
 asked on 22 Feb 2019
3 answers
144 views

In Word-inspired project I want to display a document and prevent any modifications to it. If I set radRichTextEditor1.IsReadOnly = true then user cannot type in it, but commands from ribbon bar still work (text can be turned bold, for instance). How to disable all the commands from ribbon bar? My document already has document protection enabled, but it also has one permission range.

Interestingly, looking into Telerik code, there is a RichTextBoxCommandBase.CanExecute method, but it's apparently being ignored, as ribbon bar commands are executed even when CanExecute returns false.

Dimitar
Telerik team
 answered on 21 Feb 2019
2 answers
58 views

Hello,

If I set margin or padding value for a gallery item and then add it in the collection of the gallery items, the margin/padding doesn't work incorrectly (see the attach photo: set_margin_before_addrange).

But if I add gallery item first, and then set its margin/padding value, it works.

Could someone tell me why? 

Thank you by advance.

 

Kun
Top achievements
Rank 2
 answered on 21 Feb 2019
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
DateOnlyPicker
TimeOnlyPicker
+? 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?