Telerik Forums
UI for WinForms Forum
0 answers
97 views

hi

How can this space be reduced?

asghar
Top achievements
Rank 1
 asked on 19 Feb 2019
1 answer
124 views

Hello, I'm trying to find the Parent container of CurrentBitmap inside of CanvasElement.

I want to ignore the current zoom and window location of the image for a custom control's mouse position relative to the image. Any help would be appreciated.

Thank you.

Dimitar
Telerik team
 answered on 19 Feb 2019
2 answers
327 views
private void button1_Click(object sender, EventArgs e)
        {

            ExportToPDF exporter = new ExportToPDF(this.radGridView1);
            exporter.FileExtension = "pdf";
            //exporter.HiddenColumnOption = Telerik.WinControls.UI.Export.HiddenOption.DoNotExport;
            exporter.FitToPageWidth = true;
            string fileName = "c:\\Directory-information.pdf";
            exporter.RunExport(fileName);

        }

Im beginner in .net, what ever experienced people teach is me what I learn. Help me with this issue , I will be very much thankful to you all.
Jeremiah
Top achievements
Rank 1
 answered on 19 Feb 2019
2 answers
75 views

Hi there,

I'm using a RadGridView with a DateTime column. The property for this column is a nullable DateTime property. I read on a few forum posts that I need to add a FilterDescriptor for the nullable DateTime columns manually. So I added the descriptors the following way:

FilterDescriptor desc = new FilterDescriptor();
desc.Operator = FilterOperator.IsEqualTo;
desc.Value = null;
desc.IsFilterEditor = true;
col.FilteringMode = GridViewTimeFilteringMode.Date;
gv.Columns["WishDate"].FilterDescriptor = desc;

When the data binding is complete, it instantly filters for null value in this column. But I don't want to filter right away. When I don't add the FilterDescriptor, the default FilterOperator for this column is "None".
What I need on startup is this nullable DateTime column with "Equal To" filter and not already filtered data.

I hope you know what I mean :)

Regards,
Danilo

 

Danilo
Top achievements
Rank 1
 answered on 19 Feb 2019
5 answers
365 views

Hello,

Hello,
Is there a way to set font style; size, font family (with html option or another way) of Caption Text and ContentText?

Kind regards...

Dimitar
Telerik team
 answered on 18 Feb 2019
2 answers
256 views

Is it possible to 
1. Change the arrow button to something bigger
2. Change mouse to arrow instead of resize

 

Pleas see image

Dimitar
Telerik team
 answered on 18 Feb 2019
1 answer
189 views

Hi,

I'm using a ribbon and have added a theme to it,so it visually matches the entire app.
That is all perfectly fine, except that I would like to change the mouse-over highlight color so it is different in certain situations.

I have tried to do a SetThemeValueOverride for the radButtonElement(s), but have not found the correct property to change, and/or the correct values to pass. For example:

this.radButtonElement1.SetThemeValueOverride(LightVisualElement.HighlightColorProperty, Color.Red, "");

Can you please help me with the correct property and parameters to use for this situation? Thanks :)

Regards

Thomas

Dimitar
Telerik team
 answered on 15 Feb 2019
0 answers
69 views

Hello

I have a RadDropDownList implemented with data source from database.

In fill method i have order by column desc which is DisplayMember.

The problem is that list is shows from the end , from the smallest number instead of the largest.

Grzegorz
Top achievements
Rank 1
 asked on 14 Feb 2019
5 answers
3.4K+ views

Since I have everything inside a RadDock, I'm assuming this is a RadDock issue.

There are 3 things that are the matter:

1) Controls will resize themselves on the designer. For example, look at Picture 1. When I last closed the project, I had resized it to fit the form perfectly. I opened it today and the control extends farther than the form resulting in non-visible area. This keeps happening, it's not a one-off thing.

2) What you see on the designer is not what you get. I run the programme with the control extending farther than the visible area, as it was on Picture 1, and what I get at runtime is the control not actually filling the whole form.

3) When resizing in the designer, some controls with anchors that make them resize when their parent does, will not resize properly.

The only way I found to get the sizes like I want them is to use the control.dock property, but you can only do that so many times on a panel.. so then you need panels inside panels to dock in them, and then panels inside panels inside panels depending on the layout. I'd much rather just use anchors but they have to work correctly.


Now, I'm not sure if the problem is cause but something specific that I did, or did wrongly - so if you need more information, please tell me.

Dimitar
Telerik team
 answered on 14 Feb 2019
0 answers
190 views

Good evening, I have a small inconvenience, I want to show a vertical line in the highest value of the chart, but when I try to do it, it shows the line vertically. Any suggestions? Thanks.

 

this code:

 var max_linea = listaDatos.Max();
            var min_linea = listaDatos.Min();
            var posicion = listaDatos.IndexOf(listaDatos.Max());

          

            CartesianGridLineAnnotation annotation1 = new CartesianGridLineAnnotation();
            annotation1.Axis = this.ChartSuspension.Axes[1] as CartesianAxis;
            annotation1.Value = max_linea;
            annotation1.BorderColor = Color.Red;
            annotation1.BorderDashStyle = DashStyle.Solid;
            annotation1.BorderWidth = 1;
            this.ChartSuspension.Annotations.Add(annotation1);
            CartesianGridLineAnnotation annotation2 = new CartesianGridLineAnnotation();
            annotation2.Axis = this.ChartSuspension.Axes[0] as CartesianAxis;
            annotation2.Value = posicion;
            annotation2.BorderColor = Color.Blue;
            annotation2.BorderDashStyle = DashStyle.Solid;
            annotation2.BorderWidth = 1;
            this.ChartSuspension.Annotations.Add(annotation2);

Electrónica GOIA
Top achievements
Rank 2
 asked on 14 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)
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?