Telerik Forums
UI for WinForms Forum
5 answers
315 views
Hello -

I am nesting a RadComboBoxElement under a GridCellElement (in my actual code, I'm nesting a larger element tree of which one of the elements happens to be a combo box, which is why I cannot use a GridViewComboBoxColumn).  I've almost achieved the desired behavior.  Here are the three remaining issues:

1)  Why doesn't clicking on the combo box's arrow button cause the dropdown to open up?  Is the grid somehow intercepting this event?
3)  When the Tab key is pressed, the current grid cell gets updated, but the keyboard focus is not moved from one combo box to the next.  Can you tell me how to make tab work properly?
2)  Why doesn't clicking into the combo box's RadTextBoxElement cause the current grid row to be adjusted (note that clicking on the arrow button does adjust the current grid row)?  I believe the answer may be that the textbox is intercepting the mouse click even though I set RadComboBoxElement.NotifyParentOnMouseInput to true.  What is the suggested workaround?

Here is some simple code that reproduces the problem:

        void grid_CellFormatting(object sender, CellFormattingEventArgs e) 
        { 
            if (e.CellElement.Children.Count == 0) 
            { 
                var element = new RadComboBoxElement(); 
                element.NotifyParentOnMouseInput = true
                element.DataSource = new List<string>() { "First""Second""Third" }; 
                e.CellElement.Children.Add(element); 
            } 
        } 
 
        void Form1_Load(object sender, EventArgs e) 
        { 
            var grid = new RadGridView(); 
            Controls.Add(grid); 
            grid.BeginInit(); 
            grid.EndInit(); 
            grid.CellFormatting += new CellFormattingEventHandler(grid_CellFormatting); 
            grid.MasterGridViewTemplate.AutoGenerateColumns = false
            grid.Columns.Add(new GridViewDataColumn() { HeaderText = "Header" }); 
            grid.DataSource = new List<int> { 1, 2, 3 }; 
        } 

Thanks,
- Mike


Jack
Telerik team
 answered on 16 Mar 2010
2 answers
116 views
Hi,
I'm using the latest release with VS2008 and I code in VB

I'm searching how to set my RadGrid as a data source for my RadChart.
I don't use a data table, because I fill the RadGrid programaticly

How to do this ?

Thanks
Richard Slade
Top achievements
Rank 2
 answered on 16 Mar 2010
6 answers
229 views
Hi,

When we are assigning the theme (xml file)  for radgridview, we are getting the tooltip like Position:1.. (while scroling the vertical scroll). I need to remove this tool tip. So kindly let me know how to remove this tooltip. [Kindly refer the attached jpeg file]
Hristo
Telerik team
 answered on 15 Mar 2010
1 answer
70 views
Hi,

Unable to install Q1 2010 with Visual Studio 2010 RC Ultimate. See attached screen shots for the detail.

My OS : Windows XP Pro English
Dot Net Framework 4 installed with Visual Studio 2010 RC
Tried to install framework 3.5, does not fix anything.
Q3 2009 was installed and works fine.

Please, help,
Regards
guinux guinux
Top achievements
Rank 1
 answered on 15 Mar 2010
2 answers
133 views
I am converting an old program (c++ MFC/Rogue Wave) to C#/Telerik. The old program gives users the options of deciding which columns of a data table to display at run-time. For my audience, the Column Chooser mechanism is too complicated for them to you, plus they are already used to a set of checkbox specifications in the setup routine.

So how can I, during form load event, choose which columns to display while still enjoy the automatic CRUD actions performed by databinding?

Bes6 wishes
Neal Campbell
Neal Campbell
Top achievements
Rank 1
 answered on 15 Mar 2010
1 answer
135 views
hi, I want to have a tool tip...or just description that pops up when the mouse is hovered over a column header on the winform gridview
can someone point me in the right direction, or show an example....
thanks
Martin Vasilev
Telerik team
 answered on 15 Mar 2010
1 answer
91 views
I have the free Audacity audio file editor program.  When you load in an audio file, the program displays a waveform of the audio.  You can mark an area on the waveform by clicking on the wave form with the cursor and draging the cursor horizontally.  This causes the area you selected to have a darker background.  It looks like a selected block.  (See attached screenshot.)

Once you've done that, you can also position the cursor on either end of the block to drag that edge of the selected portion back and forth to resize the area.

I need to implement a similar feature in my own application, with the added requirement of being able to select more than one area on the waveform at one time.

Anyone have any ideas on how I might go about this using Telerik .NET forms controls?  Maybe positioning some kind of partially transparent object over the waveform?

Thanks for any suggestions.
Nikolay
Telerik team
 answered on 15 Mar 2010
4 answers
126 views

Hi, I'm having a problem after upgrading from version 2009 Q3 SP1 to 2010. I´ve run and debbuged your "performance" example and the problem is there too, so I assume that there is a bug in the new version. 
The problem arises when I try to get the value (doing this radgridview1.Rows[0].Cells[0].Value) of any cell of the grid, I always get an empty string but it is shown correctly in the screen. It is worth mentioning that i'm using GridViewColumnTexts in my grid.

Tell me if you need more info. Hope to hear about you soon. Regards

Jack
Telerik team
 answered on 15 Mar 2010
9 answers
391 views

Hello,
I have a problem with the isPinned property on the radGrid rows :

I have to pin the first row and the first column of my grid, this works great with the first column (the first column is locked on the left of my grid) but with the first row… the first row is duplicated.

And, of course, edit of the first line don’t work like all others rows of the radGrid (click on the first or the second row edit the first row).

 

For pin rows and column I use this code (c#) :

 

if (radGridViewGrille.MasterGridViewTemplate.Rows.Count > 0 )

{radGridViewGrille.MasterGridViewTemplate.Rows[0].IsPinned = true;

}

 

if (radGridViewGrille.MasterGridViewTemplate.Columns.Count > 0 )               

{radGridViewGrille.MasterGridViewTemplate.Columns[0].IsPinned = true;

}


So the question is : How can i remove the duplication of the first row to have the same behavior than the pinned collumn? 

Regards.

 

Jack
Telerik team
 answered on 15 Mar 2010
2 answers
259 views
I am trying to conditionally enable and disable a CellElement based on the previous cells value. The code below works fine if the number of rows visible on the GridView appear all on one screen. If the rows exceed one screen and are scrollable, I get a null reference exception on "rowInfo.Cells[7].CellElement.Enabled = false;". Any ideas why it might be happening or a perhaps a better way to do this would really be helpful.

foreach ( var rowInfo in radGridView1.MasterGridViewTemplate.Rows ) 
            { 
                if ( ( !( (bool)rowInfo.Cells[6].Value ) ) ) continue
                rowInfo.Cells[7].CellElement.Enabled = false
            } 
 
 radGridView1.Columns[6].IsVisible = false
AY
Top achievements
Rank 1
 answered on 13 Mar 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
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?