Hello, i have a treeview who changes his content dynamically via the NodeFormatting event.
Is there a way to programmatically call this event so I can refresh the content without the need to hover with the mouse above it?
I've tried the Refresh() method but nothing happens.
Thanks in advance!
why doesn't the same order appear when i hide with
DashboardTab_taskAll.DockState = DockState.Hidden;
DashboardTab_archived.DockState = DockState.Hidden;
and display with
DashboardTab_taskAll.DockState = DockState.TabbedDocument;
DashboardTab_archived.DockState = DockState.TabbedDocument;
?
thank !
andré
Hi!
I have following problem which also shows in Telerik Example for Virtual Grid ("First look").
Steps to reproduce.
1) I have a greed which has both vertical and horizontal scroll bars.
2) Scroll to the very bottom of the grid
3) Select the last row
4) Scroll all the way to the right
At this moment the selected row disappears from the view, and 4th from the bottom row is moved to the bottom of the grid.
We are currently using Win_2017_3_912 version.
Please help!
I have a RadGridView control on my form. I've set Virtual = True (as shown in a number of samples and the online documentation) but this line of code eludes me:
RadGridView1.VirtualMode = True (works)
RadGridView1.ColumnCount = _dataSource.Columns (works)
RadGridView1.RowCount = _dataSource.Rows (does NOT work. There is no "RowCount" property!!!)
Am I using the wrong control here? Was RowCount renamed? Any advice would be helpful, thank you!
-Curtis
I realize this topic has been covered several times - So I hope I'm not spamming the wrong location.
In another thread of a similar topic, the question was "How do I populate my unbound cells when using a bound grid where my unbound cell is based on data found in one or more bound cells?" The answer was simple and expected: Loop thru all of your rows and set the cells.
Is there a way to do this with a little more elegance? A way to populate these unbound cells WHILE the binding is occurring?
The reason I ask is also simple: I have millions of rows. Having to loop thru a 2nd time to populate a single, unbound column takes a considerable amount of time and since getting the binding to complete already takes a fairly long period, I was hoping to not have to do the whole loop thing...might as well update the unbound column as the rows are being created right?
Anyway if this is possible, I'd appreciate being pointing in the correct direction!
-C
Hello,
I am experimenting with programmatically creating RadDocuments, and am creating a table in the document where I am adding cells that contain a barcode and also some text. However, sometimes the text is broken off from its barcode and placed on another page, which I do not want. Since I am new at this RadDocument thing, I would like to know what I need to do to get the cell contents to stay together. See attached image.
Thanks,
Matt
Hi Admins
I'm using Last version of the amazing controls Telerik :-)
Have a problem with MaskedEditBox Control.
use this control in Date format. and set the using property to this:
1.
txtdatein.MaskType = MaskType.DateTime;
2.
txtdatein.Mask =
"yyyy/MM/dd"
;
3.
txtdatein.Culture =
new
CultureInfo(
"fa-ir"
);
it's ok and work correct. but only in my system that i'm working with VS2017. (Windows 10 pro)
and when test the project another system,(windows 7 & windows 10) the control culture changed to en-us.
meanwhile, in application startup, use the below code for change the thread culture:
1.
CultureInfo c =
new
CultureInfo(
"fa-Ir"
);
2.
//var info = c.DateTimeFormat;
3.
Thread.CurrentThread.CurrentCulture = c;
4.
Thread.CurrentThread.CurrentUICulture = c;
5.
CultureInfo.DefaultThreadCurrentCulture = c;
// Test with and without this line
Please Tell me how to fix this problem.
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.