I have a pageview in strip mode with the items on the left.
I'd like to keep the width of those tabs at a static value, as I am adding/removing tabs and the resizing is a bit visually jarring. Is this possible? And if so, how?
Hello! I am using the ExplorerControl for an application where I want to limit the user to selecting files and folders - they should otherwise be completely unable to modify the filesystem. Is there a way to disable the feature where the user selects a file or folder, then selects it again, and the file entry changes to let them edit the name of the selected item?
This occurs with both a mouse and touchscreen selection; I'd like to disable both of these cases. To clarify, this is distinct from the "rename" feature of the Windows context menu, which normally appears on mouse right-click (and can be disabled by handling that event).
Thanks for your help!
--Ed
Greetings,
I've tested the image export functionality of RadChartView, however, the output quality isn't quite high, and therefore, it isn't appropriate for printing stuff (I tested JPEG format).
I also searched for PDF output of RadChartView, most implemented methods are all about putting an exported image of RadChartView into a PDF document.
First Question : Is it possible to export a high-quality image of RadChartView? and is it possible to change the background color of the exported image? (as default it exports the image with white background; JPEG)
Second Question : What's the best way to export a RadChartview into a PDF document?
Thanks in advance.
I have a Telerik WinForm RadGridView and I have a GridViewCheckBoxColumn column where the user can check/uncheck all of the rows in the grid. I'm able to click the header check box to uncheck or check all of the rows. I'm trying to implement the ability that it will only check or uncheck all of the visible rows in the grid. For example, if the user filtered one of the columns I'd like the header check/uncheck to only toggle based on the filtered rows and not all the rows. Currently, it appears the default functionality is to change all the rows.
I found this article: https://docs.telerik.com/devtools/winforms/controls/gridview/rows/rows-vs-childrows that explains how you can access either the rows or childrows collections to access all the data or the filtered data. I added an event to the CellValueChanged event and created a break point in that new method. Within that event the rows and childrows are the same (i.e. the row count was the exact same). However, within the ValueChanged event it correctly shows the childrows based on the current filters.
Is there another event where I should be capturing the check/uncheck event from the header that correctly lists the childrows data?
I tried creating a separate button to toggle the check boxes and used this article: https://www.telerik.com/forums/how-to-get-all-row-with-checkboxcolumn-checked to update the rows. But I have more than 5,000 records and it takes a very long time to iterate over all the rows. Is there an easier way to uncheck/check all the rows other than iterating over the rows collection?
What I am trying to do is to check whether the current cell element containing an appointment inside a 'scheduler_click event'.
It appears when the current cell does not contain an appointment, the currentCellElementDate shows correctly. However, if the current cell does contain an appointment, the currentCellElementDate 'Time' is wrong always.
private void radScheduler1_Click (object sender, EventArgs e)Hello to the team,
This is my problem :
I have a screen with rapMap (which represents World) in my local PC, with 2 labels representing a travel between country A and country B.
When I run my application on another PC than mine, the background of the map disappears (the labels are OK).
What could I do to solve this problem ?
Thanks a lot for advance,
Thierry
Hi.
I found an old posting (KB, forum, ??) about how to use a custom dialog to edit an existing data row in the grid.
That required the GridCellDoubleClick and GridCommandCellClick events to be intercepted.
I need to have the same dialog appear when adding a new row. What is the best way to get this done? Should I intercept the DefaultValuesNeeded event or the CreateRow event?
If I use the DefaultValuesNeeded event, if I have the underlying record created when the add operation starts, will any changes to that underlying record be reflected in the grid view automatically?
Thanks
-marc
Could you tell me if it is possible to change the colour of the item being hovered over within a dynamically created RadContextMenu. I have implemented the code below but it is leaving a "shadow" background system default (see attached) (with
From init code:
e.ContextMenu.MouseMove += ContextMenu_MouseMove;
Within Form code:
RadMenuItem lastHoveredItem;
private void ContextMenu_MouseMove(object sender, MouseEventArgs e)
{
RadDropDownMenu menu = (RadDropDownMenu)sender;
RadMenuItem hoveredItem = menu.ElementTree.GetElementAtPoint(e.Location) as RadMenuItem;
if (hoveredItem != null)
{
if(lastHoveredItem != null && lastHoveredItem != hoveredItem)
{
lastHoveredItem.FillPrimitive.ResetValue(FillPrimitive.BackColorProperty, ValueResetFlags.Local);
lastHoveredItem.FillPrimitive.ResetValue(FillPrimitive.ForeColorProperty, ValueResetFlags.Local);
lastHoveredItem.ForeColor = Color.Black;
}
hoveredItem.FillPrimitive.BackColor = Theming.Current.HighlightedBackground;
hoveredItem.ForeColor = Theming.Current.HighlightedText1;
lastHoveredItem = hoveredItem;
}
}
The Reset value above is not resetting the ForeColor thus the hard coding back to Black.
UPDATE:
The menu items are dynamically created with menu.Items.Clear() called each time. I have created a method which is called once the context menu has been built which runs the code you suggested (looping through the items within the menu) but I am once again getting the "lagged" yellow highlight color showing. It seems to be due to the child/nested context menu entries as I get no issue on single context menus with no children - see newly attached image
Hello,
I would like to use the radWebCam to take snapshots. When taking a snapshot and afterwards clicking the saving button, it is automatically saved.
- Is there a possibility to modify this saving process? I would like to access the snapshot to display it in a picture box in my application
- In which directory the snapshots are saved?
- Can I chose the filename and the diractory to which a snapshot is saved?
Thank you and have a great weekend!
Jana