Telerik Forums
UI for WinForms Forum
1 answer
153 views

Hi guys,

I am having some trouble trying to remove the border from the radRotator control in a WinForms project. The control is on a normal form, and I have gone through all of the properties. I have set the BorderThickness property to '0', yet it still displays.

Any help would be appreciated!

Regards,

Mike

Dimitar
Telerik team
 answered on 16 May 2016
4 answers
134 views

Given the following routine, can you please explain why I am not able to change the row height via code?

 

With Me.dvAreas
 
                .AllowColumnReorder = False
 
                .AllowColumnResize = False
 
                .AllowRowReorder = False
 
                .AllowRowResize = False
 
                .EnableAlternatingRowColor = True
 
                .AutoSizeRows = False
 
                .TableElement.GroupHeaderHeight = 50
 
                .TableElement.RowHeight = 50
 
                .TableElement.TableHeaderHeight = 50
 
                Dim colID As New GridViewTextBoxColumn()
                colID.Name = "colID"
                colID.HeaderText = "Work Area ID"
                colID.FieldName = "WorkAreaID"
                colID.MaxLength = 0
                colID.TextAlignment = ContentAlignment.MiddleRight
                colID.IsVisible = False
                colID.Width = 0
 
                Dim colWorkAreaName As New GridViewTextBoxColumn()
                colWorkAreaName.Name = "WorkAreaName"
                colWorkAreaName.HeaderText = "Name"
                colWorkAreaName.FieldName = "WorkAreaName"
                colWorkAreaName.MaxLength = 15
                colWorkAreaName.TextAlignment = ContentAlignment.MiddleLeft
                colWorkAreaName.IsVisible = True
                colWorkAreaName.Width = 100
 
                Dim colWallConstructionMasonry As New GridViewCheckBoxColumn()
                colWallConstructionMasonry.Name = "WCMasonry"
                colWallConstructionMasonry.HeaderText = "Masonry"
                colWallConstructionMasonry.FieldName = "WCMasonry"
                colWallConstructionMasonry.TextAlignment = ContentAlignment.MiddleLeft
                colWallConstructionMasonry.IsVisible = True
                colWallConstructionMasonry.Width = 100
 
                Dim colWallConstructionSteel As New GridViewCheckBoxColumn()
                colWallConstructionSteel.Name = "WCSteel"
                colWallConstructionSteel.HeaderText = "Steel"
                colWallConstructionSteel.FieldName = "WCSteel"
                colWallConstructionSteel.TextAlignment = ContentAlignment.MiddleLeft
                colWallConstructionSteel.IsVisible = True
                colWallConstructionSteel.Width = 100
 
                Dim colWallConstructionOther As New GridViewCheckBoxColumn()
                colWallConstructionOther.Name = "WCOther"
                colWallConstructionOther.HeaderText = "Other"
                colWallConstructionOther.FieldName = "WCOther"
                colWallConstructionOther.TextAlignment = ContentAlignment.MiddleLeft
                colWallConstructionOther.IsVisible = True
                colWallConstructionOther.Width = 100
 
                .MasterTemplate.Columns.Add(colID)
                .MasterTemplate.Columns.Add(colWorkAreaName)
                .MasterTemplate.Columns.Add(colWallConstructionMasonry)
                .MasterTemplate.Columns.Add(colWallConstructionSteel)
                .MasterTemplate.Columns.Add(colWallConstructionOther)
 
                Dim view As New ColumnGroupsViewDefinition()
                view.ColumnGroups.Add(New GridViewColumnGroup("Work Area"))
                view.ColumnGroups.Add(New GridViewColumnGroup("Wall Construction"))
 
                view.ColumnGroups(0).Rows.Add(New GridViewColumnGroupRow())
                view.ColumnGroups(0).Rows(0).ColumnNames.Add("WorkAreaName")
 
                view.ColumnGroups(1).Rows.Add(New GridViewColumnGroupRow())
                view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCMasonry")
                view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCSteel")
                view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCOther")
 
 
 
                .ViewDefinition = view
         

Hristo
Telerik team
 answered on 13 May 2016
1 answer
86 views
When I open the Property Builder on a radGridView, select a column under MasterTemplate and go to Advanced everything looks ok. But if i go to Templates, and then back again to Columns, and use Categorized sorting, almost every property says "Object does not match target type". I'm also missing the MaxLength property. A few times everything has seemd right, but no MaxLength property. If I use Alphabetical sort it's ok.

 

I'm using v2016.2.503.40 and VS2015

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 May 2016
1 answer
131 views

I have developed a WinForm form with a RadButton and have compiled Framework 4 and double-click the executable does not load anything in the machines of my clients. But in my development machine if charging.

I have to install on my clients to run normally Framework 4 Other than the another component have to install to make it work?

help me please

Thank you

Dimitar
Telerik team
 answered on 12 May 2016
3 answers
202 views

Trying to apply RadChartView localization. When overriding string "PaletteArctic" (lines 8,9) - the corresponding context menu item in control will not change the color of the chart.

Please reply if it is a bug or im doing it wrong way...

01.public ref class MyRadChartLocalizationProvider : Telerik::WinControls::UI::RadChartLocalizationProvider
02.{
03.public:
04.    virtual String^ GetLocalizedString(String ^id) override
05.    {
06.        if( id == "Palette" )
07.            return "Palette";
08.        else if( id == "PaletteArctic" )
09.            return "123";
10.
11.        return Telerik::WinControls::UI::RadChartLocalizationProvider::GetLocalizedString(id);
12.    }
13.};

Telerik::WinControls::UI::RadChartLocalizationProvider::CurrentProvider = gcnew MyRadChartLocalizationProvider;

c++/cli, visual studio 2010, RadControls_WinForms_2012_3_1017_dev

Dimitar
Telerik team
 answered on 12 May 2016
5 answers
240 views

Hello everyone

I'm facing a problem with RadMaskedEditBox control in UI for WinForms. I'm not able to paste a copied text into the control. Even if I set MaskType to None, I'm not able to paste some text. The first time I can paste some text, but then nothing more. Example:

I first copy a text like e.g. "hello" and paste it to the RadMaskedEditBox. This works. If I want to paste it then again, it doesn't work anymore. Step by step:

1. Copy a random text using CTRL+C
2. Paste it to the RadMaskedEditBox control using CTRL+V (works)
3. Try to paste it again using CTRL+V (doesn't work anymore).

I noticed that pasting a text always works if the user selects the whole text which is already in the box (like "overwrite" the existing text). But it's not possible to paste a text to the end of an existing text in the EditBox control.

Is this a known bug of this control? If yes, is there a planned bugfix?

Regards,
Danilo

Dimitar
Telerik team
 answered on 12 May 2016
3 answers
374 views
Is there a way with the grid to put a small space between 2 columns?  
i thought about maybe putting a dummy column there and then somehow remove the header for that column.  is there a better way?

see the attached example for what i want. 

Thanks!
Dimitar
Telerik team
 answered on 12 May 2016
3 answers
183 views
Hi I want to know if it is possible to create custom shapes and add them to the toolbox radDiagram, I need to create the figures shown in the attached image.

I hope you can help me.
Dimitar
Telerik team
 answered on 11 May 2016
3 answers
662 views
There is a huge amount of space between the title of my charts and the actual data. Also if I have no title there is a similarly huge amount of space above the chart. How can I control this spacing? I looked at every margin and padding setting I could find but nothing seemed to be set or do anything.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 May 2016
6 answers
1.0K+ views
I bind an entity to the RadGridView,then I update some cell's text  of gridview.
code like below:

radGridView.Rows[0].Cells[0].CellElement.Text = "Male";

But when gridview is refreshed(such as when I scroll the scrollbar of the gridview.), the cell's text I just set is gone instead of the value of the entity used to bind to the grdiview.
So how can I make cell's text keep unchanged ?

Thanks in advance,
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 May 2016
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
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?