Telerik Forums
UI for WinForms Forum
4 answers
291 views
Why does RadControlSpy.dll keep appearing in my release folder when I build a project?
Tried to exclude it, but did not succeed.
I cannot distribute RadControl dll's, so what to do?
Anders Jensen
Top achievements
Rank 1
 answered on 13 Oct 2009
1 answer
107 views
Hi,

I have read with interest all the threads and comments on this forum regarding "serialization," with particular attention to exchanges in early 2008 such as :

http://www.telerik.com/community/forums/winforms/treeview/treeview-serializable.aspx#450955

Where Peter of Telerik commented : "You could try to create your own class that implements ISerializable and contains the data you want to store in the Tag property" in response to a query about trying to save strings stored in the Tag of a TreeNode as XML.

I've implemented a class that inherits from ISerializable, and has the mandatory Attributes and Security Permissions, and builds fine, but it breaks the TreeView XML parser or writer.

In my opinion the lack of abilitiy to save strings in Node tags is a real deficit in the TreeView.

Just curious if any changes are happening in this area of functionality. Obviously, as Peter demonstrated (see the linked article above), some objects, like DateTime are easily serializable. But Arrays of string, for example, while theoretically serializable, do not serialize ... but they do not cause an error, either.

Appreciate any clear statement about what is and is not serializable at this time, and in any future planned changes.

thanks, Bill

Victor
Telerik team
 answered on 13 Oct 2009
1 answer
167 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
183 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
105 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
154 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
485 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
100 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
170 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
379 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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?