Telerik Forums
UI for WinForms Forum
8 answers
3.4K+ views
Is there a way to clear all of the data from the WinForm GridView?  I can rebind to a new empty DataSource, but then there are no column headings.  Ideally I just want to leave the columns as is and just clear the rows underneath.  Is there a way to do this?

Thanks.
Dan
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Apr 2019
6 answers
297 views
Hi,

I have some problems using for the first time the RadColorBox. (last release Q1-2012) in vb net
Documentation don't seem be outdated....

So here my problems
I Don't want to display as text of the selected color (I Want only the box filled with the selected color and the [...] Button
I Don't want to show the Web and Basic tabs when the diaglog is showed
(Documentation talk about  ShowBasicColors property, but I don't find it...)


Any help will be great.

Thanks

Anthony
pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Apr 2019
1 answer
202 views

I have a raddock and i add a usercontrol to the raddock DocumentWindow using :
            HostWindow host2 = this.rdkMain.DockControl(estPanel2, winProject, Telerik.WinControls.UI.Docking.DockPosition.Fill,DockType.Document);
The window shows up correctly in the RadDock, however the underlying type is HostWindow (which behaves like a ToolWindow) and not a DocumentWindow. I need a DocumentWindow so that when I Float this window it appears like my other DocumentWindows. See attached images.

TabsDocked image shows the tabs appear correctly when docked, HostWindow is Estimate2, the DocumentWindow is documentWindow1

TabsFloating you can see that the tabstrip displays differently between floating as a HostWindow and a DocumentWindow because the HostWindow is "interpreted" as a ToolWindow. I know there are other differences between ToolWindows and DocumentWindows, so I want to stay with the full DocumentWindow implementation and appearance if at all possible... 

How can i add a usercontrol to the Dock as a DocumentWindow?

Many thanks in advance


Dimitar
Telerik team
 answered on 16 Apr 2019
3 answers
164 views

Hi,

I need to format the text in a GroupElement calculated on a datetime field, removing the time part [I want 10/04/19 instead of 10/04/2019 00:00:00].

I found a suggestion in this forum and wrote this code :

private void rpvtGrid_GroupElementFormatting(object sender, PivotGroupElementEventArgs e) {
    object laCosa = e.GroupElement?.Data?.Group?.Name;
    if (laCosa != null && laCosa is DateTime) {
        DateTime laData = (DateTime)laCosa;
        e.GroupElement.Text = laData.ToString("dd/MM/yy") + " Total";
    }
}

 

The last line of the method assign  the correct value to e.GroupElement.Text but on the inteface nothing changes and I still see the original  text [10/04/2019 00:00:00].

What did i miss ?

[This may be someway related to my previous post.]

 

Hristo
Telerik team
 answered on 16 Apr 2019
6 answers
271 views
I have a form with a Ribbon at the top with dock top to fill the top, a new StatusBar at the bottom with dock bottom to fill the bottom, and in the middle I have a DockManger with dock fill to fill the remaining space.
When I run the form, the Ribbon is at the top like it should be, the StatusBar is at the bottom like it should be. The DockManager is in the middle below the Ribbon, but it appears to extend fully to the bottom of the form with the lower area "hiding" behind the StatusBar.

Paul Clark
Top achievements
Rank 2
 answered on 15 Apr 2019
1 answer
187 views
Hi , how to add Group Record Number(serial no for Group) in Telerik Report Group Section
Neli
Telerik team
 answered on 11 Apr 2019
1 answer
157 views
I am considering buying your product WinForm metro design. I have one question:
I am using for development 2 computers my laptop and my computer from the office, being a single developer can i use a single a developer license for both computers?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Apr 2019
3 answers
696 views
How can you disable the default context menu for the RadGridView?  We already have our right-click context menu control added to the form and have it working with the RadGridView; however, the default context menu is displayed behind it.  I would imagine it is very easy to disable I just haven't found out how to.

Thanks in advance.
Jeff
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Apr 2019
2 answers
179 views

I have a ranking system, I'm about to make a "sub-leader" rank. In that relation I am removing some pages/tabs, depending on the user access level.

This is the code I have. The problem is it does not remove all the pages. As shown in the screenshot attached, not all pages are removed. 

 

for (int i = 0; i < radPageView2.Pages.Count; i++)
                    {
                        if(radPageView2.Pages[i].Text == "Emails" || radPageView2.Pages[i].Text == "Products" || radPageView2.Pages[i].Text == "Customers" || radPageView2.Pages[i].Text == "Verify sales" ||
                            radPageView2.Pages[i].Text == "Salary" || radPageView2.Pages[i].Text == "Leads control" || radPageView2.Pages[i].Text == "Agents")
                        {
                            radPageView2.Pages.RemoveAt(i);
                        }
                    }

Thanks in advance!

 

Nicklas
Top achievements
Rank 1
 answered on 11 Apr 2019
11 answers
340 views

Hi,

is it an easy way to save/load all print settings for PivotGrid?

Thanks

Alex

 

Lina
Top achievements
Rank 1
 answered on 11 Apr 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)
Chart (obsolete as of Q1 2013)
Form
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+129 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?