Telerik Forums
UI for WinForms Forum
2 answers
294 views

Hi,

We want to remove the column separators in the RadListView control (DetailsView) and set the headers to align to the left (see the attached image).

We can do this in design view by going in to the Edit UI Elements-dialog and go to the DetailsListViewColumnContainers Children property and edit our two columns DrawBorder-property to false and TextAlignment-property to MiddleLeft. The problem is when we do that and run our project we get a runtime error, ArgumentOutOfRangeException, on the first row, of the ones down below. Is this not the way to remove the separators? Is there a better way to achieve this?

 

ArgumentOutOfRangeException on the first of these rows (more specifically the last GetChildAt() fails):

((Telerik.WinControls.UI.DetailListViewHeaderCellElement)(this.radListViewServer.GetChildAt(0).GetChildAt(0).GetChildAt(3).GetChildAt(0))).DrawBorder = false;((Telerik.WinControls.UI.DetailListViewHeaderCellElement)(this.radListViewServer.GetChildAt(0).GetChildAt(0).GetChildAt(3).GetChildAt(0))).TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;((Telerik.WinControls.UI.DetailListViewHeaderCellElement)(this.radListViewServer.GetChildAt(0).GetChildAt(0).GetChildAt(3).GetChildAt(0))).Text = "Server";((Telerik.WinControls.UI.DetailListViewHeaderCellElement)(this.radListViewServer.GetChildAt(0).GetChildAt(0).GetChildAt(3).GetChildAt(1))).DrawBorder = false;((Telerik.WinControls.UI.DetailListViewHeaderCellElement)(this.radListViewServer.GetChildAt(0).GetChildAt(0).GetChildAt(3).GetChildAt(1))).TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;((Telerik.WinControls.UI.DetailListViewHeaderCellElement)(this.radListViewServer.GetChildAt(0).GetChildAt(0).GetChildAt(3).GetChildAt(1))).Text = "Kommentar";

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jun 2018
4 answers
355 views

Hello,

I am trying to programmatically create RadDocuments and while I am successful in this regard I am looking for a way to use RadPrintPreviewDialog to render the document rather than having to instantiate a control like RadRichTextEditor when I don't need it (the end-user chooses what to print from a list and I handle the generation completely, only showing a print preview to them). I haven't even found a way to translate a RadDocument to a RadPrintDocument. The only thing I found so far is this post:

https://www.telerik.com/forums/printing-a-raddocument-without-assigning-to-a-radrichtextbox

In that post from 2010 there was not yet an option to do this. Has this changed? If not shall I put in a feature request?

Thanks,

Matt.

Matt
Top achievements
Rank 1
 answered on 07 Jun 2018
4 answers
464 views

Hi,

 

i referred this while planning to build and release my application, but there are some dlls which are in my solution but not mentioned in given page under title of "Assemblies that you need to redistribute depending on which controls you use in your application" like 

Telerik.WinControls.PivotGrid.dll,

Telerik.WinControls.Themes.Fluent.dll,

Telerik.Windows.Documents.Core.dll,

Telerik.Windows.Documents.Fixed.dll,

TelerikData.dll

My question is simple, What to do with these dlls, should i not include them in final build for release?What if i want to use them?

Vishal
Top achievements
Rank 1
 answered on 07 Jun 2018
1 answer
84 views

Hi,

When I add to many appointments in a cell the scrollbar (The scrollbar for navigate in vertical of the row for see all the appointments) dont appear , my program is using all the time the MonthView, if I set AutoSizeAppointments = false the scrollbar appears again, i need set AutoSizeAppointments = true or resize the appointment height  for the requeriments of my program.

I try resize using the event AppointmentFormatting but dont work if i dont set the AutoSizeAppointments to true.

How I can show this scroll for navigate and see the appointment who are hidden?

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jun 2018
1 answer
96 views

Hi all,

My problem is the next:  I auto generate appointments  in some days (MonthView), sometimes the day had a lot of appoiments appear the scroll bar on the row or the arrow who indicate who exit more appointments in that day, I try insert the appointments manually and the scroll bar in the row appears and the arrow appears, how i can do that if I add the appoinments using a list from the code ?

Thanks!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jun 2018
21 answers
282 views

While filtering is a very useful feature, it tends to confuse my test users in some cases, mostly in combination with other powerful features of the grid:

- If a filter is set and the column then hidden by the user, there is no visual indication of an active filter. This can be especially confusing in combination with the SaveLayout()/ LoadLayout() feature.

- On boolean columns there is no easy way to distinguish between a clear filter and an unchecked checkbox.

On my prototype application I have therefore implemented a 'Clear all Filters' Button, that is only enabled if any filters are set. In addition to indicate the filtering, clear all filters might be a useful standard function (for example in the context menu) of the grid.

Regards
Erwin
 
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jun 2018
3 answers
1.9K+ views

Hi Support team.

I am using System.Windows.Controls.WebBrowser to show web site on Windows application.

But with some sites, it cannot fully display.

Does Telerik has controls that support to display website?

Thanks. 

 

Eyup
Telerik team
 answered on 06 Jun 2018
8 answers
757 views
By default, the grid uses a RadDateTimePicker (I presume) when a column has a system type of DateTime.  Using the FormatString property we are able to format the date the way we wish while the grid is in view mode; but when a row is put into edit mode, the RadDateTimePicker shows the default Long date.  How can this be changed to show a Short date?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Jun 2018
4 answers
342 views

Is there any way to adjust the height of the items displayed when a GridViewComboBoxColumn is opened?  I'm not talking about the dropdownheight...I mean changing the height of each element inside the dropdown.

 

I'll be honest, I expected this column type to include a .ListElement property just like a RadDropDownList has but I've searched and cannot find a reference to this anywhere.

 

Any help you can provide would be appreciated.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Jun 2018
4 answers
182 views

Hi~

Can I set task date format "yyyyMMdd"

don't use hhmmss

ganttview_ItemChanged(object sender, GanttViewItemChangedEventArgs e)

{

    e.Start = new DateTime(e.Start.Year, e.Start.Month, e.Start.Day);

 

}

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Jun 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
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?