Telerik Forums
UI for WinForms Forum
2 answers
110 views

I have 2+ LookupColumns on a grid, and each of these have seperate datasources.

Step 1-Open the dropdown on column1. (Data displayed is column 1's data)
Step 2-Open the dropdown on column2. (Data displayed is column 1's data)

Column 1 data is showed everywhere.

If I open column 2 first, then column 2 data is shown in all dropdowns.

// Setup CONTROLLER  
GridViewLookUpColumn controllerLookUp = new GridViewLookUpColumn("ControllerNameDrop", "ControllerName");  
controllerLookUp.HeaderText = "Controller";  
controllerLookUp.Width = 100;  
controllerLookUp.DataSource = this.controllerListBindingSource;  
controllerLookUp.ValueMember = "ControllerName";  
controllerLookUp.DisplayMember = "ControllerName";  
controllerLookUp.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;  
 
// Setup SEQUENCE  
GridViewLookUpColumn sequenceLookUp = new GridViewLookUpColumn("SequenceNameDrop", "SequenceName");  
sequenceLookUp.HeaderText = "Sequence";  
sequenceLookUp.Width = 100;  
sequenceLookUp.DataSource = this.sequenceListBindingSource;  
sequenceLookUp.ValueMember = "SequenceName";  
sequenceLookUp.DisplayMember = "SequenceName";  
sequenceLookUp.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; 

Thanks for any help!
Brandon
Top achievements
Rank 1
 answered on 05 Sep 2008
1 answer
314 views
Hello again,
I'm using RadGridView for WinForms Q2. I want to iterate through all cells and highlight text which I am searching for.
I could live with changing the background of the found cell.
The following approch produces errors.
I would be grateful for some help. Cheers Roberto

Private Sub SearchPhraseInGrid(ByVal searchphrase As String, Optional ByVal colname1 As String = "", Optional ByVal colname2 As String = "")

Dim gv As RadGridView = Me.gvMessages
Dim col As GridViewDataColumn
Dim row As GridViewRowInfo
Dim i As Integer
For Each col In gv.Columns
    
For Each row In gv.Rows
        If (row.Cellscol.FieldName).Value.ToString).Contains(searchphrase) = True Then

          i = Me.gvMessages.Rows.IndexOf(Me.gvMessages.CurrentRow)
Me
.gvMessages.CurrentRow = Me.gvMessages.Rows(i)

Me
.gvMessages.MasterGridViewTemplate.CurrentColumn = Me.gvMessages.Columns(col.Index)

Me.gvMessages.GridElement.CurrentCell.BackColor = Color.Azure
End If

Next
Next

End Sub

Nikolay
Telerik team
 answered on 05 Sep 2008
3 answers
236 views
Hi, I would like to filter my GridView programmatically.
How do I use an array of search paramters.
Let's say I have a text array with 3 or for text strings and I want to filter one or more columns for these strings.
The result should be all rows where one ore more of my search strings is contained.
Thank you for a code snippet in vb.
Cheers Roberto
Jordan
Telerik team
 answered on 05 Sep 2008
3 answers
209 views
I am not sure if I am missing something but it appears you can mark the StandardTabKey to false and have it tab between the columns like I want but it doesnt add new rows to the grid if its on the last cell of the last row. I was wondering if there was a propert to do thsi or if I have to change it to a standard tab key and use the Keydown even to implement both the features "manually"?

If that is the case and I am not missing something, I think it might be a good feature for future releases ;) . Thanks alot for any help!

Brandon
Martin Vasilev
Telerik team
 answered on 05 Sep 2008
1 answer
153 views
HI,

I'm using C# Express 2008. With registration I got the ribbon bar, but I can not use it. When I follow your documentation (Quickstarts) you mentioned to create a new form and add the RadRibbonControl from the toolbox. Unfortunately the RadRibbonBar is not present in the toolbox. What can I do?

Regards
Danilo
Martin Vasilev
Telerik team
 answered on 05 Sep 2008
1 answer
262 views
Hi,

I'm glad you introduced this feature. Is there any way how to control which columns are displayed in combobox dropdown?

Best regards,
Daniel
Nikolay
Telerik team
 answered on 05 Sep 2008
1 answer
184 views
Hi there,

I am trying to retrieve the index of the current row. The row isn't selected , it's just doubleclicked.
The code statement I found on your forum (see underneath) doesn't work for me.
int index = this.radGridView1.Rows.IndexOf( this.radGridView1.CurrentRow );

Could you pleae help me out here?
Just
Top achievements
Rank 1
 answered on 05 Sep 2008
1 answer
184 views
Hi Telerik team,

I tried to find documentation about RadMaskEditBox.MaskType.

The index contains only a RadMaskEditBoxEditor class.
Contents/Editors contains a section about RadMaskEditBox but this a overview.
API Reference contaisn no information about RadMaskEditBox.

Am I looking in the wrong place or is this really missing?

Regards
Martin

Boyko Markov
Telerik team
 answered on 04 Sep 2008
4 answers
208 views
Hi Telerik team,

Q2 2008 SP1 contains a big showstopper!

Forms or UserControls set to Localizible=true loose all modified text for RadGriedView.

More exactly: All GridViewDataColumns.HeaderText properties are no longer read from the resx file and are set to default values. This happens at design time as well as on runtime.

Whenever I open my Form/UserControl, make a small change and save, I loose all HeaderText properties in the .resx file.

I will provide a sample app.

Second problem: when I close VS 2008 SP1 I get a crash and VS 2008 restarts.

Rolling back to Q2 2008 fixes both problems.

Please investigate and fix these problems.

Regards
Martin

Jordan
Telerik team
 answered on 04 Sep 2008
4 answers
416 views
Hi,

where can I adjust width of dropdown box if MultiColumnComboBox? I've tried MultiColumnComboBoxElement  and EditorControl  with DropDownWidth, but it appears as if it had no effect on width of dropdown.

Are you planning to extend help for MultiColumn combo? I hope you do.

Best regards,
Daniel
Daniel
Top achievements
Rank 1
 answered on 04 Sep 2008
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)
Form
Chart (obsolete as of Q1 2013)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?