Telerik Forums
UI for WinForms Forum
7 answers
162 views
Hi,

The RadToolStrip control supports CausesValidation for when I want my controls validated before a button is pressed, however I can't figure out a way of getting RadRibbonBar to do the same thing. The property CausesValidation exists and I can set it to True, however I don't seem to get the expected Validate event on my editing control. Do I need to set this directly on the RadToolStripElement - and if so, how ?

Thanks,

Phillip
Nikolay
Telerik team
 answered on 15 Dec 2010
5 answers
204 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
414 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
84 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
97 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
221 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
70 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
99 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
195 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
316 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
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
NavigationView
VirtualKeyboard
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?