Hi,
I have a RadForm. It has a borderwidth of 4,1,4,4. When I inspected, found that there's a FormImageBorderPrimitive and it has a width of 3,0,3,3. I tried changing the visibility of this element but still the border is there. Is there to remove this border and have only border width of 1,1,1,1
Thanks
Hi,
I'm trying to change the size of the buttons in dock window. I tried changing it via RadControlSpy in runtime as well. But it doesn't seem to change. It is always 22px*22px.
I tried the below code
toolTabStrip.AutoHideButton.ImagePrimitive.Size = new Size(14, 14);
toolTabStrip.AutoHideButton.Size = new Size(14, 14);
Is there a way to change these size ?
Thanks
In my ListViewType.DetailsView, RadListView control, I have a simple item format method as follows.
private static void RlvScanMeterNumber_VisualItemFormatting(object sender, ListViewVisualItemEventArgs e) { if (e.VisualItem.Selected) { e.VisualItem.BackColor = Color.Red; } else { e.VisualItem.ResetValue(VisualElement.BackColorProperty, ValueResetFlags.None); } }
Before when I had the reset flag of that ResetValue function set to ValueResetFlags.Local, it DID NOT WORK.
However, after some experimentation, I found that if I used ValueResetFlags.None, it does work!
I am manually adding the list items to the list view, as per the unbound data scenario. So would that have something to do with it?
Why is that?
What do these ValueResetFlags mean?
I am currently changing the background row on my RadListView, when click selected via the visual item formatting event like this:
private static void RadListView_VisualItemFormatting(object sender, ListViewVisualItemEventArgs e) { if (e.VisualItem.Selected) { e.VisualItem.BackColor = Color.Red; } else { e.VisualItem.ResetValue(VisualElement.BackColorProperty, ValueResetFlags.None); } }
This works great when I click on a row to select it. It does change to a red background.
If you click on another row that is not selected, the state does appear to change with the old row reverting back and the new row changing to a red background.
However if you click the same row, the one you just selected, nothing appears to happen.
How can you code up a toggle of a given row's selection state, if you click it once to select and click it again to deselect?
I have a databound radgridview.
I have added a GridViewHyperLinkColumn as seen below to the grid after the databound.
GridViewHyperlinkColumn col = new GridViewHyperlinkColumn();
col.Width = 200;
On the CellFormatting I have added the follow to show a short text but a different Hyperlink
private void gvResults_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
I have registered
gvResults.HyperlinkOpening += gvResults_HyperlinkOpening;
And perform some items during this that include Opening the link using the ProcessStart.
My issue is the link opens in a browser before the gvResults_Hyperlink event is called.
I DO NOT want the LINK to open automatically, I want the gvResults_HyperLinkOpening event to do the open.
Any suggestions?
I've been thinking about it for a few days and couldn't find a solution, so I'm asking for help.
This chart displays product weight values.
In this chart, I want to draw a line according to the change condition of the maximum and minimum criteria.
In this chart, there is no problem in drawing lines without changing based on the minimum and maximum settings.
However, if the min and max values are changed in the middle, I want to draw a new line based on that criteria.
We have a customized save option and is implemented under the File --> Save (overridden) method. However, the default Ctrl+S is opening up the Savefiledialog and the users are enabled to save a copy. We need to restrict the save to the local disk. Any options on how to override all the possible save options?
Thanks,
Kishore
I am required to call an API endpoint, which is return a list of strings. This I have working.
Each item within that list is a daily announcement which is a block of text, that needs to be displaying within a scrolling parent frame. Please refer to the attached .PNG file with a screenshot of the mockup I got from our project managers.
I am not sure which is the best way to do this, as I'm relatively new to Telerik Winform UI. I am looking at either a:
DataGridView
ListControl
List of labels within a panel.
Just trying to find the most effective and simple way to do this. Any suggestions?
Hi,
Am using a telerik winform that contains a telerik textbox and the form can be resized which in turn would resize the textbox as well.
When we enter long text in the textbox and resize the textbox the text is not scrolled to show the text and cursor is at the end of the text which is fine.
For instance, in the image below the text is hidden and after resizing the text should scroll to show text depending on the length of the textbox.
Could you please help with a suitable solution, thank you!