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
How to use multiple lines when editing cells?
https://www.telerik.com/forums/auto-row-height-with-multiline-cell
Although I refer to the above page, cells with multiple lines work normally, but cells with only one line do not display text in Edit-Mode.
private void gridTextData__CellEditorInitialized(object sender, VirtualGridCellEditorInitializedEventArgs e)
Hello,
I'd like to localize the RichTextEditorRibbonBar. I've found an useful link with a sample xml file which helped me to localize some parts. But it seems it doesn't contain all the controls of the RichTextEditorRibbonBar. For example - I wasn't able to localize the Simplified Layout:
There is no occurrence of a word Simplified in the xml file.
How should I localize this?
Thanks
Tomáš
I want to prompt the user some messages if the values of PropertiGrid changed when they close the RadForm.
How do I do that? Thanks!
hello
I need to create whatsapp ui that can send files and voice notes to other client
As there any way to do it with chat ui ??
Hello All,
I have converted my Winforms C# Application to Telerik using the Telerik conversion extension tool in VS 2017 . It is converted but I see the events are not associated with the control even though the code exists in the code behind file.
Is this a known issue? Any suggestion or help is really appreciated.
Example: A Raddropdown list selected index change event is not tied to the Raddropdown. I see the event in the code behind.