Telerik Forums
UI for WinForms Forum
5 answers
395 views
Hi,

Is there some way to get the underlying datasource record when hovering over a cell in the RadGridView?
If not, is there some way to get all cellvalues of the row of the RadGridViewwhere where I'm hovering over?

Reason, I display a RadOffice2007ScreenTipElement when hovering over some cell in the RadGridView and I would like to display some information in there.
For this I need to get to that data BUT I do not want to select that row!!!
The row that was/is selected must stay selected!!

regards
Didier
Dimitar
Telerik team
 answered on 16 Feb 2017
2 answers
153 views

Hi, 

I have to add a ContextMenu to my MultiColumnComboBox. I already added a Winforms ContextMenuStrip and also set the ContextMenu Property. 

Now when I click on my dropDownButton of the ComboBox the right ContextMenu is shown but if I click in the middle of the textboxelement of the Combobox I get another one I do not want. Setting the ContextMenu of the textboxelement doesnt change that behaviour. 

THIS-OBJECT:MultiColumnComboBoxElement:TextBoxElement:TextBoxItem:HostedControl:ContextMenuStrip = THIS-OBJECT:contextMenuStripMain

Does anyone have an idea how to solve this ?

 

Sincerely,

Dominik

Dominik
Top achievements
Rank 1
 answered on 16 Feb 2017
23 answers
262 views
I have a 3 level hierarchical grid and I am getting the following error when I try to edit an expanded child row:

System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="Telerik.WinControls.GridView"
StackTrace:
at Telerik.WinControls.UI.GridViewEditManager.InitializeEditor(IInputEditor activeEditor)
at Telerik.WinControls.UI.GridViewEditManager.BeginEdit()
at Telerik.WinControls.UI.GridRowBehavior.OnMouseUpLeft(MouseEventArgs e)
at Telerik.WinControls.UI.GridRowBehavior.OnMouseUp(MouseEventArgs e)
at Telerik.WinControls.UI.BaseGridBehavior.OnMouseUp(MouseEventArgs e)
at Telerik.WinControls.UI.RadGridView.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at Telerik.WinControls.RadControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at CU_Estimating_v2.Program.Main() in C:\Documents and Settings\APahlka\My Documents\Visual Studio 2008\Projects\CU_Estimating_v2\CU_Estimating_v2\Program.cs:line 23
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

If the row is not expanded, then I don't get the error. The grid looks something like this when the error occurs:
- Parent
  - Child (trying to edit and get’s error) 
     Grandchild

I don’t get it when the child row is not expanded like this:
- Parent
+ Child (trying to edit and no error)

I'm trying to duplicate it on a smaller project, but I have not been able to yet.

Do you have any suggestions to try?

Thank you,
Aaron
Dimitar
Telerik team
 answered on 15 Feb 2017
7 answers
543 views

Hello

- Are there means to style hyperlinks in a html formatted RadLabel similar to css (.hover, .visited etc.)? couldn't find anything in the docs.

- When using a RadLabel with a hyperlink on a Rad Doc Document, the link seems to stay in .active mode after the webpage has opened. When I reopen the document the link goes into .visited style (as expected). I'd like it to revert to initial state or go into .visited state.

Regards

Erwin

Dimitar
Telerik team
 answered on 15 Feb 2017
9 answers
1.6K+ views

How do you remove/hide the Add or Remove Buttons/Customize item from the commandbar/strips? I didn't the Add or Remove Programs Button directly mentioned or named in the documentation so I am not sure if I am overlooking it.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Feb 2017
1 answer
41 views

Hello,

 

I am new to use your program. I want to add simple table with 2 columes and multiple rows. Do you have any example ??

 

Regards,

 

Dani

Hristo
Telerik team
 answered on 14 Feb 2017
1 answer
232 views

Hi, 

 

I have created a custom FilterCell for my Grid with a simple "FilterClear" Button. 

At the beginning of my program, a custom theme gets loaded with changes of the button style. Now i do not want, that my filterclearbuttons looks like the other buttons. I tried to set loRadButtonElement:ElementTree:EnableApplicationThemeName = FALSE. but I get a compile error this way. 

 

I also tried to set these properties of my button in my override CreateChildElements of my CustomFilterCell.

 

      loRadButtonElement:ButtonFillElement:AutoSize = FALSE.
      loRadButtonElement:ButtonFillElement:Size = NEW System.Drawing.Size(16,16).
      loRadButtonElement:ButtonFillElement:Alignment = System.Drawing.ContentAlignment:MiddleCenter.
      loRadButtonElement:BorderElement:AutoSize = FALSE.
      loRadButtonElement:BorderElement:Size = NEW System.Drawing.Size(16,16).
      loRadButtonElement:BorderElement:Alignment = System.Drawing.ContentAlignment:MiddleCenter.

 

I am able to change the style this way but it is not looking as expected. 

i add two images of my current window and how I want it to look like.

 

It would be wonderful, if someone of you could tell me how to obtain the desired style without changing my custom theme

 

Sincerely,

Dominik

Dimitar
Telerik team
 answered on 14 Feb 2017
3 answers
266 views

Hi:

I am currently using the flowlayoutpanel in a Winforms application to build a horizontal timeline of thumbnail images.  This can contain several hundred thumbnails (as many as 500).   I've included a screenshot...

The problem with flowlayoutpanel (as well as the .net panel control) is that once the thumbnail layout becomes wider than 32,767 pixels, the control will no longer populate.   This is a big problem for my application.  Attempts to work around this have thus far been unsuccessful due to complexity and extremely poor performance.

Does Telerik have a scrollable panel that will allow me to populate with more?     If so I will purchase immediately!

 

Des

 

Hristo
Telerik team
 answered on 14 Feb 2017
3 answers
65 views

Hi

 

I implemented  a (custom item - radListview) in a Listview using CustomDetailListViewDataCellElement

the view type of the parent ListView is Detailview and a data set is bounded to it

I want to fill the custom listview inside the parent listview with data

I can fill it with data at creation time

but after the cell has been created  , I can't

 

I don't know how to reach it

Dimitar
Telerik team
 answered on 14 Feb 2017
1 answer
119 views

 

How do you get access to the Root Logical Operator value? For example, I want to do this

 

            RadDataFilterDialog dialog = new RadDataFilterDialog();
            dialog.ShowDialog();
            //string expression = dialog.DataFilter.Expression;

            //Doesn't work
            DataFilterRootNode dfRn = dialog.DataFilter.Nodes[0] as DataFilterRootNode;
            if (dfRn != null)
            {
                var rootLogicalOperator = dialog.DataFilter.Nodes[0].LogicalOperator;
            }

            //Doesn't work
            var rootLogicalOperator = dialog.DataFilter.Nodes[0].LogicalOperator;

 

dialog.DataFilter.Nodes[0] in the debugger indicates it's of type DataFilterRootNode but if I try to cast to that type to access the LogicalOperator value it gives error Error    CS0122    'DataFilterRootNode' is inaccessible due to its protection level

 

So how do I access the root LogicalOperator value?

Dimitar
Telerik team
 answered on 14 Feb 2017
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?