Telerik Forums
UI for WinForms Forum
5 answers
272 views
Hi, a breaking change has happened between 2009Q1 1414 and 2009Q2 SP1 9729.

I add images dynamically to an imagelist. Then I change the ImageKey (tried with ImageIndex as well) on a node. The image is not shown. This breaks my application which worked fine on 2009Q1 1414.

        private void radButton1_Click(object sender, EventArgs e) 
        { 
            imageList1.Images.Add(radTextBox1.Text, Image.FromFile(radTextBox1.Text)); 
 
            //radTreeView1.Nodes[0].ImageKey = radTextBox1.Text; 
 
            radTreeView1.Nodes[0].ImageIndex = imageList1.Images.IndexOfKey(radTextBox1.Text); 
        } 

Any ideas?
- jorge
Victor
Telerik team
 answered on 20 Jul 2010
3 answers
118 views
I'm building a property-editor style grid with a readonly column with the name of the property and then an editable column to enter data.  Some of the rows have drop-down values where they have their own unique choice of drop-down entries.  I can get the comboBoxEditor to appear with the following code:

private void radGridView1_EditorRequired(object sender, EditorRequiredEventArgs e)
{
    List<string> fixedValues = GetFixedValues();
    if (fixedValues == null) return; //will use a normal textbox editor for items with no fixedValues
  
    RadComboBoxEditor comboEditor = new RadComboBoxEditor();
    (comboEditor.EditorElement as RadComboBoxEditorElement).DataSource = fixedValues;
  
    e.Editor = comboEditor;
    e.EditorType = typeof(RadComboBoxEditor);         
}

but I am having trouble optimizing the use of the combobox for data entry.  The comboBox loses its value as you tab through the cell without changing anything.  Basically I haven't found any way to set the selected index or the value.  I think it has to do with the Items property never being populated, but I can't get it to populate even though the DataSource is set.

Any ideas?

Thanks,
Adam


Martin Vasilev
Telerik team
 answered on 20 Jul 2010
1 answer
182 views
I add column checkbox in radGridView. When I check it error " Specified cast is not valid "

Code:
if (this.radGridView1.ActiveEditor is RadCheckBoxEditor)
{
        bool value = (bool)this.radGridView1.ActiveEditor.Value;
}

Help Me. Thank You.
Svett
Telerik team
 answered on 19 Jul 2010
2 answers
212 views
Hi !

1) I want add control in Cell of RadGridView.
2) Set color for Cell .
e.g: radGridView1.Rows[1].Cell[2]....?

Help Me. Thanks
Alexander
Telerik team
 answered on 19 Jul 2010
1 answer
56 views
Can you recommend me a method to obtain ajax loadingpanel-like functionality when using WinForms controls? This would help in showing to a user that a background operation is currently in progress on a particular part of the application (for example a control in the bottom-right corner of the application) while still allowing him to browse through the rest of the application. I feel that simply changing the cursor to a waitcursor is not enough, as he has to be hovering the mouse over the usercontrol to realize that work is being done related to that component.
Boryana
Telerik team
 answered on 19 Jul 2010
1 answer
414 views
This may not be the right place for this, but i've never really seen this happen before. 

Basically I have a user control (attachment 1). The control consists of a splitcontainer with 2 panels. panel 1 is a radgridview, panel 2 is a listbox. below the splitcontainer is a radtextbox. 

In my code i add that control with tabpage.contentpanel.controls.add()
and I use the Dock = DockStyle.Fill;

This does not turn out the way it should.(see attachment 2).
Any ideas why the Dock is not responding properly?



Boryana
Telerik team
 answered on 19 Jul 2010
1 answer
448 views
Is there a way to control how far a child node is indented?  right now, the treeview looks nice, but takes up too much horizonal space, and I am looking to compress it somewhat.

Thanks.
Emanuel Varga
Top achievements
Rank 1
 answered on 19 Jul 2010
5 answers
954 views
Hi!

With the following code, shouldn't the DateTimePicker be resized automatically to display the complete date?
// dtp1 is of type RadDateTimePicker 
dtp1.Format = DateTimePickerFormat.Long; 
dtp1.AutoSize = true
dtp1.Value = new DateTime(1982, 9, 20); 
Because it doesn't on my computer.
I'm using Vista Business x64, .NET 3.5, Culture "de-DE".
Nikolay
Telerik team
 answered on 19 Jul 2010
2 answers
121 views
Hi,

Can i make the fishEye animation whitout having to keep click press?

I need to make that kind of animation if i dont select a particular day.

Thanks in advance.


Esteban Diaz.
Software Analist.
Esteban
Top achievements
Rank 1
 answered on 19 Jul 2010
1 answer
186 views
Hello,
where I can find Office2007Silver.tssp -> package? I use RadControl Q1 2010 i have Office2007Black.tssp and CustomDefault.tssp( like blue Office).
Thanks for help.
Boryana
Telerik team
 answered on 19 Jul 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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?