Telerik Forums
UI for WinForms Forum
7 answers
373 views
When SelectionMode is set to 'MultiExtended' the RadDataItem.Selected property will behave as if the Mode is 'One' (clear all other selections).

When SelectionMode is set to 'MultiSimple' and a RadDataItem is added witht the Selected property set to true then the RadDataItem will always show as selected but cannot actually be selected or de-selected. Also when the list is re-ordered then ActiveItem does not stay on the RadDataItem that was active before the re-order.
Stefan
Telerik team
 answered on 10 Feb 2011
1 answer
385 views
Hi I am trying to change the default "check mark" to a custom image. However, I am unable to get a hold of radCheckBox instance.
Richard Slade
Top achievements
Rank 2
 answered on 09 Feb 2011
3 answers
333 views
Hi. I could not use Datasource in Scheduler, the option for select Datasource value does not appears in the window (see image "scheduler.jpg").

My question is... how I can add an appointment to the Scheduler control.

I mean, something like:

Scheduler.Appointments.Add(DATE,HOUR,EVENT)

Thanks.
Dobry Zranchev
Telerik team
 answered on 09 Feb 2011
3 answers
138 views
I have a very simple radChart and I am attempting to set the Fill Type to Gradient and use two KnownColors as the Main and Secondary Color.  I have tried to do this progamatically and through the property panel.  When setting the property in the property panel from Solid to Gradient it immediately goes back to gradient, however I am able to set it to hatched.  Here is the code I am using.  The is still solid white.  Any help would be greatly appreciated.

KnownColor clrTopBackgroundColor = KnownColor.White;
KnownColor clrBottomBackgroundColor = KnownColor.LightBlue;
 
radChart1.PlotArea.Appearance.FillStyle.FillType = FillType.Gradient;
 
radChart1.PlotArea.Appearance.FillStyle.MainColor = Color.FromKnownColor(clrTopBackgroundColor);
radChart1.PlotArea.Appearance.FillStyle.SecondColor = Color.FromKnownColor(clrBottomBackgroundColor);
 
radChart1.Update();
radChart1.UpdateGraphics();


Thank you,
Will 
Evgenia
Telerik team
 answered on 09 Feb 2011
4 answers
205 views

Hi
Is there any way that I can override the default RadGridView Filter behaviour where the 'Contains' option is not presented for numeric fields?
I need the 'Contains' option to appear on a numeric column. I know that I could change the datatype on the table but that's not really an option for me.
I am a licensed user of RadControls for WinForms Q1 2010 SP2.
Any help is appreciated.
Thanks

Svett
Telerik team
 answered on 09 Feb 2011
3 answers
388 views
Hello,

How I can add a new row to radgridview from a button?


Thank
Richard Slade
Top achievements
Rank 2
 answered on 09 Feb 2011
5 answers
134 views
When more than six column names appear in Column Chooser, background text is obscured, because label is always in the middle. Can it be moved somehow? The screenshot is attached.
Thank you
Richard Slade
Top achievements
Rank 2
 answered on 09 Feb 2011
5 answers
200 views

I want to click on one cell in the grid view to get a whole column on another form related to one single cell,,

 

For example:

 

If I had a database which have products table and product details table,,

In my grid view I want to click on one product (cell) to get the details for that  product in separate form which contains another grid view.
the details will be column in another table in the database. 

 

Thanks in advance,,

Richard Slade
Top achievements
Rank 2
 answered on 09 Feb 2011
6 answers
503 views
Hi,
i have a sub menu items in one of the menu items in context menu,but the problem is that submenu item doesnt get highlited or respond until i explicitly click on its parent item.
Is there any possibility that i take mouse on the parent menu item and its children gets highlited,
i dont want to click the parent to gets its children enabled.

Dobry Zranchev
Telerik team
 answered on 09 Feb 2011
7 answers
237 views
I have a GridView with a GridViewComboBoxColumn for choosing units of measure.  My grid is bound to a DataTable of parts data.  One of the fields for a part is 'unit of measure' but it is not a required field.  I am using the Excel-like filtering. If I have a null value in the 'unit of measure' field and I click the filter icon, I get an exception that says: "Object reference not set to an instance of an object.".  This only happens when I have a null value for that field in one or more rows. Here is part of the stack trace that seems to indicate that the error happens during the attempt to get the column's distinct values.

A first chance exception of type 'System.NullReferenceException' occurred in Telerik.WinControls.GridView.dll System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.WinControls.UI.RadListFilterMenuProvider.GetDistinctValuesTable(GridViewDataColumn column)
at Telerik.WinControls.UI.RadListFilterMenuProvider.CreateListFilterMenuItems()
at Telerik.WinControls.UI.RadListFilterMenuProvider.CreateFilterMenu()
at Telerik.WinControls.UI.GridHeaderCellElement.FilterFunctionButton_Click(Object sender, EventArgs e)...


Should I be able to have null values in a field bound to a GridViewComboBoxColumn and expect filtering to work properly?

Here are the properties I have set on the grid:
gridCatalog.AllowCellContextMenu = false;
gridCatalog.AllowDeleteRow = false;
gridCatalog.AutoGenerateColumns = false;
gridCatalog.EnableFiltering = true;            
gridCatalog.EnableGrouping = false;
gridCatalog.NewRowEnterKeyMode = RadGridViewNewRowEnterKeyMode.EnterMovesToNextCell;
gridCatalog.EnableCustomSorting = false;
gridCatalog.EnableSorting = true;
gridCatalog.MasterTemplate.SelectLastAddedRow = false;
gridCatalog.MasterTemplate.EnableCustomSorting = false;
gridCatalog.MasterTemplate.EnableSorting = true;
gridCatalog.MasterTemplate.ShowHeaderCellButtons = true;
gridCatalog.MasterTemplate.ShowFilteringRow = false;

I am creating the column like this:
var UOMs = from a in dc.vw_UnitOfMeasureLUs
           orderby a.UnitOfMeasureName
           select a;
GridViewComboBoxColumn colUOM = new GridViewComboBoxColumn();
colUOM.DisplayMember = "UnitOfMeasureName";
colUOM.ValueMember = "UnitOfMeasureID";
colUOM.FieldName = "UnitOfMeasureID";
colUOM.Name = "UnitOfMeasure";
colUOM.HeaderText = "UOM";                
colUOM.Width = 80;
colUOM.DataSource = UOMs;
colUOM.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
gridCatalog.MasterTemplate.Columns.Add(colUOM);

Am I doing something wrong or is this expected behavior? 

I would appreciate any help anyone out there has to offer.

Thanks
Martin Vasilev
Telerik team
 answered on 09 Feb 2011
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?