Telerik Forums
UI for WinForms Forum
9 answers
765 views
We have a scenario where, a user will select a Treeview node in which we perform logic within theSelectedNodeChanging event. Using e.Node we are able to validate that the node being selected is the correct node. However after performing logic in using the SelectedNodeChanging event, the newly selected node does not show as highlighted in the treeview. 

We have validated that the clicked node is in fact the selected node in the treeview, however it simply does not show it as selected by being highlighted. The code we are using, within the SelectedNodeChanging event includes a user confirmation via a RadMessageBox. It seems that the coloured highlighting of the selected node disappears when the message box is called; almost as if it is not highlighted because it is loosing focus. Once the messagebox is closed, we need the selected node to remain highlighted.

What is also interesting is that the selected node, while not highlighted, does not change style when hovering over it with the mouse. All other nodes change style on hover, but not the selected node - it remains plain.

Are we missing something? Is there something else that we have initialize or call to show the node (e.node) highlighted?
Richard Slade
Top achievements
Rank 2
 answered on 09 Nov 2010
7 answers
238 views
Dear forum,
I would like to know if it is possible to highlight a RadSplitButton and fix the highlighting also when I move the mouse out from the button.
I try to explain better: now the RadSplitButton  becomes highlight only when I move over it, I would like to fix the highlight clickink on it,
like a ToggleButton, to permit me to understand which one of the RadSplitButtons of my radribbonbar is actived in this moment.
It should be the same situation of a group of ToggleButton in a group.

thank you
Emanuel Varga
Top achievements
Rank 1
 answered on 09 Nov 2010
5 answers
750 views
Hi, I have the latest Telerik controls, I am using it for some time, currently I changed the method content that returns List<MyDataObject>, I started receiving exceptions from the Grid after data binding.

I am receiving System.NullReferenceException from the Grid
 
What does this mean ? what should I check for ?

[System.NullReferenceException] = {"Object reference not set to an instance of an object."}
 
Source: Telerik.WinControls.GridView
 
Stack Trace:
   at Telerik.WinControls.UI.GridVisualElement.GetElementAtPoint[T](ComponentElementTree componentTree, Point point)
   at Telerik.WinControls.UI.GridRowBehavior.GetRowAtPoint(Point point)
   at Telerik.WinControls.UI.GridRowBehavior.SelectPositionOnMouseDownLeft(MouseEventArgs e, GridRowElement rowElement, GridCellElement cellElement)
   at Telerik.WinControls.UI.GridRowBehavior.OnMouseDownLeft(MouseEventArgs e)
   at Telerik.WinControls.UI.GridRowBehavior.OnMouseDown(MouseEventArgs e)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e)
   at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Svett
Telerik team
 answered on 09 Nov 2010
6 answers
216 views
hello,

i make a user control and inherit it from RadTextBox , the problem is backcolor of my user control is gray instead of white.
i tried to change it via various methods ,but nothing worked till.

how can i solve this problem ?
Eastern
Top achievements
Rank 1
 answered on 09 Nov 2010
3 answers
99 views
hello,

i am using 2010 Q2 controls , in the scheduler i changed the default Cultureinfo to another culture , but the Month view is using the old (system default) culture.

how can i solve this issue ?
Richard Slade
Top achievements
Rank 2
 answered on 09 Nov 2010
4 answers
157 views
Hello everybody!
I have an issue to paint rows in different colors based on the DataBoundItem.Date Property.
Should be like this:

Date           |          Name
01.01.2000           Order1       blue
01.01.2000           Order2 blue
02.01.2000           Order3 green
05.01.2000           Order4 blue

all orders that are in one day should be in one color (as even color), then the next day's orders (as not even color),  

how to do this ? =)
Nick Gebbett
Top achievements
Rank 1
 answered on 09 Nov 2010
3 answers
74 views
I tried to put nice graphics together with the column's header but the result does not impressed me at all. The image is too far away from the text that it looks very odd! See attached picture!

RadButton has a ImageAlignment property that I could use to move the image closer to the text. There is not such a property here that I could see.

Phi
Jack
Telerik team
 answered on 09 Nov 2010
1 answer
555 views
Hey all,

is it possible to automatically expand all of the groups once a grouping is used on the RadGridView?  I have tried, but to no avail! Any help would be greatly appreciated!
Richard Slade
Top achievements
Rank 2
 answered on 09 Nov 2010
2 answers
375 views
Just want to report a bug that the CellValidating even is fired twice whenever I clicked a row in the grid.

Also, this event also fired whenever I clicked on any row, not just when in edit mode. Don't know if this is by-design or what!

Another thing, I found some events used e.Value versus e.NewValue (while e.OldValue is OK). You guys may want to get them to be named the same!

Phi
Alexander
Telerik team
 answered on 09 Nov 2010
6 answers
201 views
Hello,

I would like to interrupt an auto behavior of the RadPageView in ExplorerBar mode.
Actually, the title is set as soon as on TabPage is selected, and take this tabpage text.

Is there any way to set this text myself?

Thanks for help

Best regards

Richard Slade
Top achievements
Rank 2
 answered on 09 Nov 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?