Telerik Forums
UI for WinForms Forum
3 answers
458 views

Hi,

I'm working with a RadGridView and add a Template on it with :

GridViewRelation relation = new GridViewRelation(gridView.MasterTemplate, template);

Then I'm trying to customize the view of my gridview because I would like delete all borders on my Template.

I'm trying to do that but it's not enough to delete all borders. What I could do more ?

private void gridView_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
GridDetailViewCellElement childCell = e.CellElement as GridDetailViewCellElement;
GridGroupExpanderCellElement expanderCell = e.CellElement as GridGroupExpanderCellElement;
if (e.CellElement.ViewTemplate.Parent != null)
{
e.CellElement.BorderBoxStyle = BorderBoxStyle.SingleBorder;
e.CellElement.BorderWidth = 0;
e.CellElement.Padding = new Padding(0);
}
else if (childCell != null)
{
childCell.BorderBoxStyle = BorderBoxStyle.SingleBorder;
childCell.BorderWidth = 0;
childCell.Padding = new Padding(0);
 
childCell.PageViewElement.Header.Visibility = ElementVisibility.Collapsed;
childCell.GridViewElement.DrawBorder = false;
childCell.GridViewElement.GroupPanelElement.DrawBorder = false;
RadPageViewStripElement stripElement = childCell.PageViewElement as RadPageViewStripElement;
if (stripElement != null)
{
stripElement.DrawBorder = false;
stripElement.BorderBoxStyle = BorderBoxStyle.SingleBorder;
stripElement.BorderWidth = 0;
foreach (RadPageViewItem item in stripElement.Items)
{
item.MaxSize = new Size(0, 1);
item.Visibility = ElementVisibility.Hidden;
}
}
}

Thanks for your help,

Simon

Dimitar
Telerik team
 answered on 15 Feb 2018
16 answers
689 views
I am using a RadLabel to show the status and results of a process that builds the data for a GridView.  Click a button to start that process and the text set to "Please wait while your list is being built..." then I do a refresh() on that control.  At the end of that process the text is set to "Row Count: xxx".

Even though I have the label set to autosize, the full text ("Please wait while....") is cut off at the length of whatever the text was at the beginning of the process.  My current workaround is to make this autosize = false and pad the text with enough trailing blanks so that it is always longer than "Please wait while your list is being built...".

I replaced that RadLabel with a Microsoft Label and that works fine.

Is that a bug with that RadLabel?
Jeff
Top achievements
Rank 1
 answered on 14 Feb 2018
2 answers
96 views

Fluent with RadRibbonBar : Down Arrow to Items always visible event if no item in list

 

Included a screen shot, mouse over nor mouse click on the down arrow shows anything (normal cause it's empty)

 

Here's my designer's part that was generated:

//
// radRibbonBar2
//
this.radRibbonBar2.ApplicationMenuAnimantionType = Telerik.WinControls.UI.FadeAnimationType.None;
this.radRibbonBar2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(254)))));
this.radRibbonBar2.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] {
this.radRibbonBarCommandTab2,
this.ribbonTab2,
this.ribbonTab1});
this.radRibbonBar2.ExitButton.Text = "Exit";
this.radRibbonBar2.Location = new System.Drawing.Point(0, 0);
this.radRibbonBar2.Name = "radRibbonBar2";
this.radRibbonBar2.OptionsButton.Text = "Options";
this.radRibbonBar2.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
this.radRibbonBar2.Size = new System.Drawing.Size(1096, 171);
this.radRibbonBar2.StartButtonImage = global::MorneauShepell.Parametrization.Windows.Forms.Properties.Resources.ArielWhite;
this.radRibbonBar2.TabIndex = 2;
this.radRibbonBar2.Text = "ArielVal";
this.radRibbonBar2.ThemeName = "Fluent";
((Telerik.WinControls.UI.RadRibbonBarElement)(this.radRibbonBar2.GetChildAt(0))).Text = "ArielVal";
sebastien
Top achievements
Rank 1
 answered on 14 Feb 2018
7 answers
375 views
Hello,
Thanks for your great product,

I would like to set my custom theme to the application at design time. But the problem is, when I set my theme to the form, after adding a control like RadButton to this form, theme class name property of new button is empty and I have to set it manually. Is there any way to solve my problem in order to setting controls theme automatically from their parent?

Best Regards
sebastien
Top achievements
Rank 1
 answered on 14 Feb 2018
1 answer
182 views
Has anyone implemented undo and/or redo for this control?
Dimitar
Telerik team
 answered on 14 Feb 2018
1 answer
129 views

I had the Telerik UI and I do a winforms app but days after, I downloaded the Xamarin iOS And Android extension, so I need to download the installer and apply the Xamarin extensions to my Visual Studio.

But then... I go back to my old WinForms app and I can´t add a new RadForms Window but the items in tyhe telerik UI toolbox still there!

Also in the top bar before it was a section called Telerik near by File, Debug, etc and now it isnt there

Finally I think that I need to install it again, but when I opened the installer, it say that I have already Telerik UI For WindowsForms

So I Don´t know what to do. Maybe shoul I unistall it and install it again?

But I dont know how to do that.

Help please

Vesko
Telerik team
 answered on 14 Feb 2018
3 answers
98 views

Hello,

if I set showClearButton to true and the MaskedEditBox Enabled to false, I can still push the button.

So, I have to set the showClearButton everytime to true or false, by set the EditBox en- or disabled.

 

I think this isn't nice.

Is there any other way handling this?

 

Regards Marc

Dimitar
Telerik team
 answered on 14 Feb 2018
4 answers
208 views

Hello!

I'm trying to insert into a RadPropertyGrid something like in the attached picture.

I'm using a store to populate the grid.

Now I have all the comboboxes which are correctly created (Left, top, Right, Bottom) with their extra button and so on.

The problem now is to group them up with an All property.

Could someone please point out documentation or an example on how to manage this feature? I wasn't able to find it...

Thank you very much!

Hristo
Telerik team
 answered on 14 Feb 2018
7 answers
1.1K+ views

Have a list view with multiple columns.  Is there a way to get the columns to AutoSize similar to a RadGridView of "FILL".  I have not found anything yet.  

 

Thanks for the help.

Dimitar
Telerik team
 answered on 13 Feb 2018
1 answer
131 views
when using the ribbon bar and run the application on windows 10 or 8 the default control bar of the form appears not the ribbon control bar
Dimitar
Telerik team
 answered on 13 Feb 2018
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
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
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?