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

I've got a winform gridview.  I want to give the ability to select multiple rows when pressing the space bar.
I've looked through the doc's and forum but can't get a solution.
Dim iRow As Integer = PoolGrid.Rows.IndexOf(PoolGrid.CurrentRow)
If iKey = 2097184 Then 'SPACE
    PoolGrid.Rows(iRow).IsSelected = True
    PoolGrid.Rows(iRow).IsCurrent = True
    PoolGrid.SelectedRows.Add(PoolGrid.CurrentRow)
    PoolGrid.Update()
     PoolGrid.CurrentRow.VisualElement.RowVisualState = Telerik.WinControls.UI.GridRowElement.RowVisualStates.Selected
 End If

Many thanks,
Gary
        If iKey = 2097184 Then 'SPACE
            PoolGrid.Rows(iRow).IsSelected = True
            PoolGrid.Rows(iRow).IsCurrent = True
            PoolGrid.SelectedRows.Add(PoolGrid.CurrentRow)
            PoolGrid.Update()

            PoolGrid.CurrentRow.VisualElement.RowVisualState = Telerik.WinControls.UI.GridRowElement.RowVisualStates.Selected

        End If
        If iKey = 2097184 Then 'SPACE
            PoolGrid.Rows(iRow).IsSelected = True
            PoolGrid.Rows(iRow).IsCurrent = True
            PoolGrid.SelectedRows.Add(PoolGrid.CurrentRow)
            PoolGrid.Update()

            PoolGrid.CurrentRow.VisualElement.RowVisualState = Telerik.WinControls.UI.GridRowElement.RowVisualStates.Selected

        End If
        If iKey = 2097184 Then 'SPACE
            PoolGrid.Rows(iRow).IsSelected = True
            PoolGrid.Rows(iRow).IsCurrent = True
            PoolGrid.SelectedRows.Add(PoolGrid.CurrentRow)
            PoolGrid.Update()

            PoolGrid.CurrentRow.VisualElement.RowVisualState = Telerik.WinControls.UI.GridRowElement.RowVisualStates.Selected

        End If
Richard Slade
Top achievements
Rank 2
 answered on 15 Dec 2010
7 answers
420 views
dgv_format.DataSource = dtSource;
dgv_format.MasterTemplate.FilterDescriptors.Clear();
FilterDescriptor filter = new FilterDescriptor();
filter.PropertyName = "a_layer_number";
filter.Operator = FilterOperator.IsEqualTo;
filter.Value = 1 ;
filter.IsFilterEditor = true;
dgv_format.MasterTemplate.FilterDescriptors.Add(filter);
dgv_format.Refresh();

Does not filter ....
What could be wrong here ?
I tried to filter not using MasterTemplate  .. also does not filter, does not work :
dgv_format.FilterDescriptors.Add(filter);

Thank you ,
Victoria.
Richard Slade
Top achievements
Rank 2
 answered on 14 Dec 2010
1 answer
89 views
Hi Everyone,

I dont know if you also have this problem but on the Your Forum Threads Page all my threads say last post by Telerik Admin even though the last post is not the telerik admin and/or no telerik admin has even replied to the posts.

You can see by the attached screenshot that the last post was by the telerik admin even though this is the only post.

Take a look at your Forum Threads and let me know if you have the same issue.

Link to Your Forum Threads
Richard Slade
Top achievements
Rank 2
 answered on 14 Dec 2010
2 answers
103 views
Hi

How I can change the comma separated when I use the ExportCSV
I want to use ";"  and no "," for the delimeter

Thanks

Anthony
Martin Vasilev
Telerik team
 answered on 14 Dec 2010
3 answers
227 views
I have MDI frame. .NET C# WinForms.
In the MDI frame I have a main window that contains ListBox. Depend on selected item from the ListBox a Child Form suppose to be opened with parameters. Everything working file except :  I want Child Form to be opened next to the ListBox on the main form.
So  I'm trying to set  x, y location position properties of the Child Form. Does not work.
Every form opens ... looks like in cascading positions. ( I noticed it because I tried to open and close 5 - 7 forms and I saw that every other form was opened a little aside from the previous).
I need every form to be opened at the same location. What should I do for it?
Please , help...

Thank you ,
Victoria.
Richard Slade
Top achievements
Rank 2
 answered on 14 Dec 2010
2 answers
71 views
Hi,
    I have a requirement in radgridview. I need to have either a checkbox or command button in a column depending on the data. If i have child record i should show command button and if i dont have child record i should show check box. But both the controls should be present in the same column.I should be showing either one control per record. How should i proceed to acheive this ?

Thanks in advance.


With Regards,
Surendar. S

Richard Slade
Top achievements
Rank 2
 answered on 14 Dec 2010
2 answers
104 views
Is there any way to control the style of the grouping row? We'd like the group header to be bolded or have a different background color so they are more easy to see in the list.

Is there any way to control any of that?
Emanuel Varga
Top achievements
Rank 1
 answered on 14 Dec 2010
10 answers
198 views
Hello,
i have RadComboboxColumn in my grid. I set DropDownStyle : DropDown and AutoCompletedMode : SuggestAppend. I bind this column to list with some numbers. Now, I wolud like to create event: when i write another number in Combobox (list don't containts this number), number will be add to combox. I have problem becouse when i write to cell some text and go to next cell event EndEdit doesn't work. What is more when i use event f.e CellFormatting and write some text Cell.Value is always null.
Any idea to solve this problem ?
    Thanks
Alexander
Telerik team
 answered on 14 Dec 2010
1 answer
324 views
Hello,

We need the ability to copy a whole row from the grid to the clipboard, so it can be pasted in Excel let's say.
Looks like the built in copy functionality only copies a single cell and it can be pasted back in the grid only.

Any code samples anyone?

Thanks!

UPDATE:

The closest thing that I found and does it is:

http://www.telerik.com/support/kb/winforms/gridview/copy-pasting-rows-in-and-between-radgridviews-csv-format.aspx

I implemented a variation of that but was wondering if there wasn't something built in by now...
Richard Slade
Top achievements
Rank 2
 answered on 14 Dec 2010
4 answers
107 views
Hello,

Has anyone seen the following behavior:

We have a grid (2010Q3), there is a column with decimal numbers, we update the data in the column in code but the grid won't show the new numbers unless you scroll up and down, or sort. We tried calling .Refresh or .Update on the grid but it did not help...

Any ideas?

See attached screenshot for details.

Thanks.
Richard Slade
Top achievements
Rank 2
 answered on 13 Dec 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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
BindingNavigator
Styling
Barcode
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?