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";
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.
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?
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.
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!
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.
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.