Telerik Forums
UI for WinForms Forum
0 answers
81 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
116 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
205 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
116 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
119 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
93 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
95 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
171 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
77 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
4 answers
214 views
I have a problem
in rtl language such as arabic or persian we can not delete dot(.....) in telerik demo
when we want to delete dot in word or paragragh , corsur jump to other line or word.
video:
http://yekupload.ir/.../bandicam_2019-02-13_15-38-11-599.mp4
please help me
best regurde for you
Peshito
Telerik team
 answered on 20 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
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
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
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?