Telerik Forums
UI for WinForms Forum
1 answer
104 views

Hi,

if i doubleclick on the appointmen cell on the Scheduler for Winform UI the EditAppointmentDialog is shown.

Question:

How can i disable the  EditAppointmentDialog , it is possible after a DoubleClick not to popup this EditAppointmentDialog??

 

Regards,

Bledar

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Apr 2015
1 answer
1.7K+ views

Hi folks.

I have a list view which can be populated with many rows of data (not databound)

Once populated I want to grab the text values of certain sub items - but the ListViewDataItem does not have a subitem property

EG:

foreach (ListViewDataItem item in radListViewPOItem.Items)

{
                    
}

Any tips on how to accomplish a simple task?

Thanks.

 

Ralitsa
Telerik team
 answered on 21 Apr 2015
2 answers
79 views

Hi,

I have a grid with multiple columns and rows and inside a method which handles cellformatting, based on some criteria which change dynamically,  set different properties to cells(including enabling/disabling , coloring and many more). but when i do scroll the grid, the cells appearance are mixed up and cells which should be enabled will be disabled and many weird appearances. So i Was wondering how it can be fixed and is there any way to update the grid on fly when scrolling

Thank you 

Cheers,

Niloofar

Niloofar
Top achievements
Rank 1
 answered on 20 Apr 2015
6 answers
1.0K+ views
Hello,

I am using Telerik Winform RadMaskedEditBox 2011.3.11.1116.  When using a MaskType "Numeric" and MaxLenght property set to 9 the MaxLenght does not work, it allows me to type more than 9 digits.  I have a need to ensure only numerics are entered but at the same time limit that value to a max of 999999.99.  I don't want the control filled with 00000000 when the position is not in use.

Doesn't seem you can use the two properties together.

Any ideas,

Regards,

Kerry
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Apr 2015
11 answers
257 views
Hello,

i looked at the GridView/Export/ExportMethods Demo.
I used Export to PDF to create a pdf-file.

The created pdf-file looks mostly correct, but there are 2 errors.

Companyname:
1. GROSELLA-Restaurant not correctly exported. The name is written over the next column instead it should be wrapped to the second line.
2. LILA-Supermercado. Same error as no. 1

Kind Regards,

Ramius
Todor
Telerik team
 answered on 20 Apr 2015
2 answers
134 views

Hi,

How do I get a custom context menu to be shown when clicking in a GridView outside of a cell? For example, if there are only a few rows and I click near the bottom of the control? 

-Lou
Lou
Top achievements
Rank 1
 answered on 17 Apr 2015
8 answers
477 views
Hi everyone,
I meet a trouble that I can't multiselect all cells by mouse drag when we create a big table.

My version is 2014.1.402.20, I use radgridview.
e.g.
1. I create 10 by 10 cells table and gridview is a small one, it will show horizon scroll bar and vertical scroll bar.
2. I want to select all cells by mouse drag but not CTRL+Click.
3. I can't select all of them.

Please review my attachment. Thanks.
tony
Top achievements
Rank 1
 answered on 17 Apr 2015
1 answer
241 views

Telerik v2013 "UI for Winforms"

.Net 3.5

Visual Studio 2008

We have a .Net desktop application built using Visual Studio with Telerik UI for WinForms integrated.  We are using the Chartview feature to show user some charts.  However they are not displaying correctly and we cannot identify why.

When we create a chart using the radChartView control, the labels for the bars of the chart sometimes extend outside of the chart frame area (e.g. see fig1).  We want the bar labels to always being contained within the chart frame and never extend outside of this.

To demonstrate better what we require, we have made a mockup using MSChart control to show what we are aiming for (see fig2).

Please advise how we can create what we require using radChartView control?

Dimitar
Telerik team
 answered on 17 Apr 2015
2 answers
677 views

Hi guys, 

I have a RadListView, its ViewType is ListView. I use a custom item of SimpleListViewVisualItem like below.

The problem is that when Item.Text is too long and overflow, ListView has no horizontal scroll to see the full text.

 Is there any way to fix it?

 

public class UnitListVisualItem : SimpleListViewVisualItem
    {
        private LightVisualElement element1;
        private LightVisualElement element2;
        private StackLayoutPanel layout;
 
        protected override void CreateChildElements()
        {
            base.CreateChildElements();
 
            this.layout = new StackLayoutPanel();
            this.layout.EqualChildrenWidth = true;
            this.layout.Margin = new Padding(30, 20, 0, 0);
 
            this.element1 = new LightVisualElement();
            element1.TextAlignment = ContentAlignment.MiddleLeft;
            element1.MinSize = new Size(160, 0);
            element1.NotifyParentOnMouseInput = true;
            element1.ShouldHandleMouseInput = false;
            this.layout.Children.Add(this.element1);
 
            this.element2 = new LightVisualElement();
            element2.TextAlignment = ContentAlignment.MiddleLeft;
            element2.MinSize = new Size(160, 0);
            element2.NotifyParentOnMouseInput = true;
            element2.ShouldHandleMouseInput = false;
            this.layout.Children.Add(this.element2);
 
            this.Children.Add(this.layout);
        }
 
        private bool IsNotZero(ListViewDataItem item, string field)
        {
            return item[field] != null && Convert.ToInt32(item[field]) != 0;
        }
 
        protected override void SynchronizeProperties()
        {
            base.SynchronizeProperties();
            this.AutoSize = true;
            this.AutoSizeMode = RadAutoSizeMode.FitToAvailableSize;
 
            RadElement element = this.FindAncestor<RadListViewElement>();
 
            if (element == null)
            {
                return;
            }
 
            this.Text = "<html><span style=\"color:#141718;font-size:12.5pt;\"> " + this.Data["Name"] + "</span>";
 
            this.element1.Text = "<html><span style=\"color:#010102;font-size:8.5pt;font-family:Segoe UI Semibold;\">" +
                "Mã đơn vị:<span style=\"color:#13224D;font-family:Segoe UI;\">" + this.Data["MaDV"] + "</span>" +
                "<br>Trạng thái:" + (this.IsNotZero(this.Data, "Status") ? "<span style=\"color:#13224D;font-family:Segoe UI;\">" + this.Data["StatusName"] : "<span style=\"color:#D71B0E;\">" + this.Data["StatusName"]) + "</span>" + "</span>";
 
            this.element2.Text = "<html><span style=\"color:#010102;font-size:8.5pt;font-family:Segoe UI Semibold;\">" +
                "Hiệu lá»±c từ   :<span style=\"color:#13224D;font-family:Segoe UI;\">"
                + (this.Data["ValidFrom"] == DBNull.Value ? "" : Convert.ToDateTime(this.Data["ValidFrom"]).ToString("dd/MM/yyyy")) + "</span>" +
                "<br>Hiệu lá»±c đến:<span style=\"color:#13224D;font-family:Segoe UI;\">"
                + (this.Data["ValidTo"] == DBNull.Value ? "" : Convert.ToDateTime(this.Data["ValidTo"]).ToString("dd/MM/yyyy")) + "</span></span>";
 
            this.TextAlignment = ContentAlignment.TopLeft;
        }
 
        protected override Type ThemeEffectiveType
        {
            get
            {
                return typeof(SimpleListViewVisualItem);
            }
        }
    }

D.Snake
Top achievements
Rank 1
 answered on 17 Apr 2015
11 answers
325 views

Hello,

 

I already export my radGridView to PDF with the following code:

  

Telerik.WinControls.UI.Export.ExportToPDF exportPDF = new Telerik.WinControls.UI.Export.ExportToPDF(radGridView);

               

exportPDF.PdfExportSettings.Title = "Title";

exportPDF.SummariesExportOption = Telerik.WinControls.UI.Export.SummariesOption.ExportAll;

exportPDF.ExportVisualSettings = true;
exportPDF.TableBorderThickness = 10;

exportPDF.PdfExportSettings.PageWidth = 600;

exportPDF.PdfExportSettings.PageHeight = 950;

exportPDF.FitToPageWidth = true;

  

but no matter how I set the TableBorderThickness property, there is no difference in the PDF…

 

1. I want to be able to hide the border around my table on every page
2. I want to show the whole Grid ( border around every cell ),

How can I implement these 2 cases?

Regards,


Stefan 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Apr 2015
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?