Telerik Forums
UI for WinForms Forum
1 answer
141 views
So is this control meant to allow users to design some forms?  From the documentation, it does not appear offering me anything that I can't already do with anchoring controls correctly.  Please enlighten me!
Ralitsa
Telerik team
 answered on 20 Nov 2015
8 answers
1.1K+ views
Hi,

How can I set the dropdownbutton background color to transparent?
I can get the main part of the button to be transparent, but when I hit the dropdown the backgound color is not changing.

I have tried to edit the fill primitive via the Edit IU elements but with no luck.

Cheers

Shaun


Oliver
Top achievements
Rank 1
 answered on 20 Nov 2015
4 answers
191 views

Hi folks,

Is there a way for the calculator control to be permanently 'dropped down'? I want to be have a control on a form so it can be dragged around the screen. and have it permanently anchored to the form it is on.

Thanks folks.

Martin
Top achievements
Rank 1
 answered on 19 Nov 2015
1 answer
255 views

Hello,

 i've got a short question. Is there a build in way to set the PageSize dynamically so that the number of rows displayed will be calculated in relation to the grid height?

If not i think i will implement it in SizeChanged event. Any suggestions or experiences for that?

 

Best Regards,

Yves

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Nov 2015
7 answers
613 views
Pivot table has AggregateDescription as:

' Cells
dataProvider.AggregateDescriptions.Add(New PropertyAggregateDescription() With { _
 .PropertyName = "IVResp", _
 .AggregateFunction = AggregateFunctions.Count, _
.TotalFormat = New PercentOfColumnTotal(), .CustomName = "Percentage of Responses", .StringFormat = "#0.0" _
})

Currently, the cells are showing like "20.52%". I want to round them to 1 decimal point: "20.5%". Would really appreciate some direction on this if anyone knows. Thanks.
Stefan
Telerik team
 answered on 19 Nov 2015
4 answers
626 views
Hi, I would like to ask about the RadGridView to select all row by clicking top left corner like Excel. May I know how to do this?
Thank you
Firion
Top achievements
Rank 1
 answered on 19 Nov 2015
1 answer
404 views

How can load documents with password Protected using pdf viewer.

I'm trying Telerik  UI for WinForms and i have an application which should open Password Protected PDF. How can i do that ?

 

Thanks

Hristo
Telerik team
 answered on 18 Nov 2015
1 answer
422 views
Hi, I want to know how to capture the double click event on the nodes? User click on nodes and open new form. Currently i use MouseClick event is able to capture but i tried on double click cant perform what i want.

Private Sub RadTreeView1_NodeMouseClick(sender As Object, e As Telerik.WinControls.UI.RadTreeViewEventArgs) Handles RadTreeView1.NodeMouseClick
            If e.Node.Name = "License" Then
                license = New License
                license.MdiParent = Me
                license.WindowState = FormWindowState.Maximized
                license.Show()
            End If
End Sub

Above is the code that i use on MouseClick Event, it work as my expectation. But i wish to make it ask Double Click event.

Thank you and appreciate your answer.
Stefan
Telerik team
 answered on 17 Nov 2015
16 answers
1.1K+ views
I need to add Checkbox to group header.
 i was able to do so, altering the code from 
http://www.telerik.com/community/forums/winforms/gridview/adding-controls-to-the-group-header.aspx
just needed to inherit from GridGroupContentCellElement class.
but, the checkbox is appearing on the right most side and also i cannot attach to its check state toggle event.

Thank you in advance for your help 


the code for the inerited class is

 

public class CustomGroupHeaderCell : GridGroupContentCellElement
    {
        public event EventHandler MeCheckChanged;
  
        private RadCheckBoxElement checkbox;
  
        public CustomGroupHeaderCell(GridViewColumn column, GridRowElement row)
            : base(column, row)
        { }
  
        protected override void CreateChildElements()
        {
            base.CreateChildElements();
            checkbox = new RadCheckBoxElement();
            checkbox.MinSize = new System.Drawing.Size(5, 5);
            checkbox.ToggleStateChanged += new StateChangedEventHandler(checkbox_ToggleStateChanged);
            Children.Insert(0,checkbox);
            ApplyThemeToElement(checkbox, "Bruder");  
        }
  
        private void checkbox_ToggleStateChanged(object sender, StateChangedEventArgs args)
        {
            if (MeCheckChanged != null)
                MeCheckChanged(this, null);
        }
        protected override System.Drawing.SizeF ArrangeOverride(System.Drawing.SizeF finalSize)
        {
            SizeF size = base.ArrangeOverride(finalSize);
            RectangleF rect = GetClientRectangle(finalSize);
            if (this.checkbox != null)
                this.checkbox.Arrange(new RectangleF(rect.Right - this.checkbox.DesiredSize.Width - 5,
                                                     rect.Top + (rect.Height - this.checkbox.DesiredSize.Height) / 2,
                                                     this.checkbox.DesiredSize.Width,
                                                     this.checkbox.DesiredSize.Height));
  
            return size;
        }
  
        private void ApplyThemeToElement(RadItem item, string themeName)
        {
            try
            {
                if (item.ElementTree == null) return;
  
                DefaultStyleBuilder builder = ThemeResolutionService.GetStyleSheetBuilder(
                                             (RadControl)item.ElementTree.Control,
                                              item.GetThemeEffectiveType().FullName,
                                              string.Empty, themeName) as DefaultStyleBuilder;
  
                if (builder != null)
                    item.Style = builder.Style;
            }
            catch (Exception ex)
            { }
        }
    }
            
  
        
  
}
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2015
7 answers
437 views
Hi all,
I am using Telerik PageView very extensively in my project. In most of the places my form design demands me to resize the pageview tab strip height. But I could not find the property or area to do it.
Please help me with any information regarding the resizing the tab height in rad pageview.

Thanks
Vijay
Ralitsa
Telerik team
 answered on 17 Nov 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
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?