Telerik Forums
UI for WinForms Forum
1 answer
161 views
I want to bind a generic list to a grid view but the columns can't all be defined as properties because they will be dynamic. Is this possible. It seems it should be since we can bind to a DataTable and other generic items which use this[string property] type accessorts.
Julian Benkov
Telerik team
 answered on 13 Oct 2009
1 answer
177 views
Hey there,

I'm trying to use the MultiColumnComboBox from 2009.1.9.414 to do an AutoFilter on a DataSource that is an array of Buisness Objects.

I've done this before with a DataSource that is a DataTable, and it worked fine. The exact same code is failing to work altogether for Business Objects. Without the filter, I get the full thousand-odd account items returned. With the filter, I get nothing, no matter what I search for.

Other than stepping through my array and creating the DataTable myself, is there another method for doing this?

Sample code below:

            AccountData[] data = this.GetData(); 
            this.cboSelectTaskAccount.DataSource = data; 
 
            // ... Set up my columns 
 
            if (this.cboSelectTaskAccount.EditorControl.MasterGridViewTemplate.FilterExpressions.Count < 1) 
            { 
                FilterExpression filter = new FilterExpression( 
                    this.cboSelectTaskAccount.DisplayMember, 
                    FilterExpression.BinaryOperation.AND, 
                    GridKnownFunction.Contains, 
                    GridFilterCellElement.ParameterName); 
                filter.Parameters.Add(GridFilterCellElement.ParameterName, true); 
 
                this.cboSelectTaskAccount.EditorControl.MasterGridViewTemplate.FilterExpressions.Add(filter); 
            } 

I'm hoping there's a fix for this in 2009.1.9.414, as the cost for refactoring to the latest version would be quite steep right now.

Thanks for your time.
Julian Benkov
Telerik team
 answered on 13 Oct 2009
2 answers
99 views
How do I get the caption at the top of the RadRibbonBar control to take over the entire form? I dont want to have to captions but the only way to get the Ribbon Bar to be that way is to set the Form's FormBorderStyle property to None. I need my form to be sizble though. How can I achive this?
Deyan
Telerik team
 answered on 13 Oct 2009
1 answer
145 views

I am using editable RAD grid view to bind some POCO and it has a GridViewComboBoxColumn as defined below

this

 

.gvTargetSelection.MasterGridViewTemplate.AutoGenerateColumns = false;

 

 

GridViewComboBoxColumn gvcbc = new GridViewComboBoxColumn("Priority");

 

gvcbc.DataSource =

new string[] { TargetGroupPriority.NiceToHave.ToString("g"), TargetGroupPriority.MustHave.ToString("g") };

 

gvcbc.DropDownStyle =

RadDropDownStyle.DropDownList;

 

gvcbc.Width = 100;

gvcbc.ReadOnly =

false;

 

gvcbc.ValueMember =

"Priority";

 

gvcbc.HeaderText =

"Priority";

 

gvcbc.FieldName =

"Priority";

 

 

this.gvTargetSelection.Columns.Add(gvcbc);

When the control renders, data is populated and which when double clicked exposes the combo box column with above two values [As shown in code above, data source.]

However when I select any value there and move mouse of the control, no longer anything is selected and cell is empty. If you double click again on the cell, data is there.

Am I missing here setting some default property etc ?

 

prabhat tripathi
Top achievements
Rank 1
 answered on 13 Oct 2009
15 answers
456 views
Hi,

I use a rad button.
All I want to do is to change the ForeColor depending on the situation.

Trying this I found - nothing happens.
So I tried in designer - also the same result.

Whatever I set for forecolor is ignored.

I do nothing more than a clean project - drag a button to it and try to change forecolor.

The button is nice blue (like menus) and the textcolor is darkblue - not changeable.

Regards

Manfred
Dennijr
Top achievements
Rank 1
 answered on 12 Oct 2009
0 answers
94 views
Hi everyone,

I have a big problem. I am working on a projct wich was designed in ASP.NET. We used Telerik for this project. We are now migrating the project in Winforms for performances reasons. But there is several things difficult to adapt, especially with GridViews.

In ASP.NET we had a GridView wich indicate the temperatures for each day of the weak (and other things). Each cell contains the different temperatures wich were noted this day. And for each temperature we can edit it (by clicking the temperature : it's a link) or delete it (by clicking the icon : it's a LinkImage). I don't know if I am clear so there is a picture : http://www.casimages.com/img.php?i=091012042545149095.gif.

How can I reproduce the same thing in WinForms. How can I add multiple controls (labels and picturebox) in the same cell and how can I deal with the click on each one ?

Thanks for your help because I'm stuck because of this.

[Nean]
[Nean]
Top achievements
Rank 1
 asked on 12 Oct 2009
3 answers
165 views
Hi,

using Vista Ultimate. SP1, VS Studio 2010 beta.

I downloaded the trial version of your shipping WinForms suite

"RadControls_for_WinForms_2009_2_9_903_trial.zip"

today, and installed it with no problem. The demo program runs fine (must be a WPF demo, I'd say from looking at the graphics and interface).

I want to try your WinForm controls in Visual Studio 2010 beta. You have two downloads available on the preview build site :

RadControls_for_WinForms_2009_2_9_903_trial.zip (Release notes)
RadControlsForWinForms.exe (Release notes)

Which I have downloaded. The zipped archive contains a "ReadMe" file which mentions installing the dll's manually in the GAC, but I am not clear what the relationship is between the .exe file and the files in the archive.

Should I un-install your trial version first before running the .exe file ?

A few simple instructions (I have searched your site thoroughly) for the correct installation procedure would be appreciated.

thanks, Bill Woodruff
dotScience
Nikolay
Telerik team
 answered on 12 Oct 2009
6 answers
367 views
Hello All,

I'm using demo version of your controls, and trying to create chekbox which will have different images for 3 states, checked, crossed, and none.
Is it something that this control already have? I din't managed to find resources for crossed image, and I also notice that checked state is drawned in code ( I guess ).
Can you help me with this ? I belive that only answer is custom draw on state change, do you have some samples?

Thanks in advance
Deyan
Telerik team
 answered on 12 Oct 2009
1 answer
117 views
Hi ,
Can we have radtreeview with in the radtoolstrip or radmenuitem.We have a requirement saying that in the menu phone contacts will be one menu item under that menu item we need to display phone contacts and groups as tree view with minimize and maximize buttons.If any thing is not clear please ask me.
Thanks
Suneetha.
Martin Vasilev
Telerik team
 answered on 12 Oct 2009
2 answers
151 views
Not sure if this is the correct place to request this but it would be really awesome to be able to have
the "brushed steel" background on the forms of the aqua theme as per the original aqua theme.

Any possibility ? or maybe even a nice little code snippet on how to paint a telerik form with a tiled repeating image ?

Also will there be a more complete sapphire theme for the winforms controls at all next release ?
Antonio
Top achievements
Rank 1
 answered on 09 Oct 2009
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?