Telerik Forums
UI for WinForms Forum
1 answer
210 views
Hi 

I would like to be able to filter my gridview based on the the value of two columns.

So as an example I have a grid view containing two Amount columns and I'd like to implement filtering so that they could filter the results based on any one of the following criteria: 

  • Amount 1 > Amount 2
  • Amount 2 > Amount 1
  • Amount 1 = Amount 2

Is this possible to do?  I am using 2009 Q2 and am unable to upgrade to the latest version.

Thanks
Julian Benkov
Telerik team
 answered on 24 Nov 2010
11 answers
502 views
Good Afternoon,

I am trying to add some controls to a chunk of the ribbon bar. the control in particular i am trying to add is the radcombobox. According to your instructions in the help documentation

<quote>To insert one of these elements into the telerik r.a.d.ribbonbar, right-click inside of a chunk or a button group and select Add an Item or Insert Sibling followed by the name of the element. You can then proceed to set the properties of the element using the Property window as you normally would. Refer to the linked topics for further information on the individual elements.</quote>

However, when i follow these instructions the only available items are:

  • RadRibbonBarButtonGroup
  • RadButtonElement
  • ActionButtonElement
  • RadRepeatButtonElement
  • RadToggleButtonElement
  • RadCheckBoxElement
  • RadImageButtonElement
  • RadGalleryElement
Am i missing something obvious? if now how can i get the combobox to appear in design time?

Thanks,

Chris.
Richard Slade
Top achievements
Rank 2
 answered on 24 Nov 2010
3 answers
200 views
Hi,

I am applying a theme to the dropDownElement of a RadMulticolumnComboBox column. But it is not applyed until the second time the dropDownElement is displayed. How can I do it to apply it all the times, including the first time.

I have tried to do this in two events. Here is the code if I use CellEditorInitialized:

Private Sub Grid_CellEditorInitialized(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles Grid.CellEditorInitialized
  
    If e.Row.Cells(e.ColumnIndex).ColumnInfo.Name = "multiComboGrupo" Then
            Dim editor As RadMultiColumnComboBoxElement = CType(Grid.ActiveEditor, RadMultiColumnComboBoxElement)
            editor.EditorControl.ThemeName = "UYA_Multicolu"  
    End if
  
End Sub

I even tryed with CellBeginEdit event:

Private Sub Grid_CellBeginEdit(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.GridViewCellCancelEventArgs) Handles Grid.CellBeginEdit 
    
    If Grid.CurrentRow.Cells(e.ColumnIndex).ColumnInfo.Name = "multiComboGrupo" Then
            Dim editor As RadMultiColumnComboBoxElement = CType(Grid.ActiveEditor, RadMultiColumnComboBoxElement) 
            editor.EditorControl.ThemeName = "UYA_Multicolu"  
    End if 
    
End Sub

Thank you.
Stefan
Telerik team
 answered on 24 Nov 2010
5 answers
179 views
hi guys im on a project that consists in a kiosk with a touchscreen

i have a gridview on  it that has a column that uses a gridviewcombobox,

I populate the combobox the problem is that each row is to small and it will be dificult for the users to press and select the combo box option in the touch screen, is there anyway to make this rows bigger?

Thanks......
Richard Slade
Top achievements
Rank 2
 answered on 24 Nov 2010
2 answers
124 views
Hi all!

I´m currently working with Visual Studio 2010 and TCEK 2010.1.10.504. I´m not able to drag a RadTabWorkspace from the toolbox into the ShellLayout View, because under Telerik.CAB.Winforms Components Tab there are two smartpartinfo, a RadTabSmartPartInfo and a DockingSmartPartInfo, but I cannot see RadTabWorkspace component. What is what I'm doing wrong?

thank you in advance
Jose Manuel Fernandez
Top achievements
Rank 1
 answered on 24 Nov 2010
1 answer
66 views
Hi
I have a RadToolstrip with various RadToolStripItems on it and looking foe options to handle it when the user resizes the mdi form.

I have seen from a previous post that the toolstrip can't automatically wrap the parts of the strip that would be hidden by the form resize onto another row but is there something to do with the OverflowButton property that I can use to at least let the user see the hidden toolbar items?  I can't find the property that needs to be set to allow this.

Many Thanks
Steve
Peter
Telerik team
 answered on 24 Nov 2010
4 answers
249 views
Hello  ,

Lets see If column "CategoryName" is the first column ,
So , first I'm writing :
radGridView1.DataSource  = dtDataTable;

after this line goes code:
radGridView1.Columns.Remove("CategoryName");
GridViewMultiComboBoxColumn column = new GridViewMultiComboBoxColumn();
column.FieldName = "CategoryName";
radGridView1.Columns.Add(column);
the new column appears at the end , so I have to move it at the right place:

 

radGridView1.Columns.Move(radGridView1.Columns.Count - 1, 0);
But what happened with retrieved values of this column?
The column is empty.
So do I have to loop through and copy all the values from the removed column and assign them to the new one or there is a solution that all originally retrieved values are reflected in a new MultiComboBoxColumn?

In a case when I'm trying to assign the values .. it does not work because the cells after this assignment still empty...???? :
if (dtSource.Rows.Count > 0)
   {
     for (int i = 0; i < radGridView1.Rows.Count; i++)
     {
       radGridView1.Rows[i].Cells["c_price_lob"].BeginEdit();
       radGridView1.Rows[i].Cells["c_price_lob"].Value = dtSource.Rows[i][3].ToString();
       radGridView1.Rows[i].Cells["c_price_lob"].EndEdit();
      }
   }


Thank you ,
Victoria.
Jack
Telerik team
 answered on 23 Nov 2010
2 answers
114 views
I have a 32X32 ICO file that is not sizing to the default size when added to a RadForm. What are the recommendations on controlling the size of the icon in the titlebar? 
Svett
Telerik team
 answered on 23 Nov 2010
10 answers
266 views
Hi.
I'm trying to create a TabControl with a movment-change affect between tabs.
To do this, I need to do 2 things:

1. Can I put UserControl as the Carousel element?
2. Can I control the movment path of the carousel? (I just want a horizontal movment, and not circular)

Thanks.
Jerome Prunera-Usach
Top achievements
Rank 1
 answered on 23 Nov 2010
2 answers
258 views
Hi -

I have a RadDateTimePicker column in my grid that is initially null. So I am calling SetToNullValue.

But when the user opens the RadDateTimePicker, we would like to set a default date. It appears to use the MinDate for the default date, which my user's don't like.

For example, for a search feature the system defaults to no date criteria (a null value date). But the user can search up to 3 months back (.MinDate = Today.AddMonths(-3)) But the user's don't want to default to this date when the calendar opens.

So is there an easy way to set a default date in this case?

Thanks!
Deborah
Top achievements
Rank 1
 answered on 23 Nov 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
VirtualKeyboard
NavigationView
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?