Telerik Forums
UI for WinForms Forum
2 answers
170 views
Hi,

I have added a new column of type GridViewMultiColumnComboBoxColumn to a GridView, but when I run the application I have this issue thats on this link:
http://img96.imageshack.us/i/image01g.jpg/
which I can't solve by my self. So how do I set autoSizeDropDownToBestFit like on the MultiColumnComboBox object? or something like that.

Regards,
Hugo Ruivo
Hugo Ruivo
Top achievements
Rank 1
 answered on 18 Dec 2009
1 answer
150 views
Hello,

we use Telerik in our Company. We use a lot of GridViews and here are my Questions:

1. What is the best and fastest way to bind data to a datasource. We use lists for binding. Are datasets or arrays faster? Should i use   binding sources or do they cost time?

2. I have a hierachal GridView. I dont aant to work with datasets. I work with Objects.
    I have a class for example City with some properties and a nested list of people objects.

    Now my solution is to make an relation between thos two. Each people Object has an ID of its city.

    But to bind that i have to make a new list which has alle people from all cities and then i can bind it.

    But i would like to bind it without makin the new list.

    I wolud have it like the childgrid binds to the list of people in the city.

    gridView.datasource = List<City>
    gridView.Template...[0].DataSource = here I would like to have exactlöy the nested list in city but i have a list of alle people from all cities?

How can I solve that?
Thanx Thomas
    
Julian Benkov
Telerik team
 answered on 18 Dec 2009
5 answers
244 views
Is there any way to get the menu of the application menu to open horizontally to the right instead of vertically?  I tried setting the DropDownDirection to Right, but that doesn't seem to do anything.
Deyan
Telerik team
 answered on 17 Dec 2009
3 answers
336 views

Hi everyone,

I'm trying to insert a RadTreeView in a cell of my RadGridView but I can't make it work. I tried using RadTreeViewElement like a children of one of my CellElements but without success. Does anyone know where I can found an example or at least an explanation of how to do that ?

Thanks.

[Nean]
Jack
Telerik team
 answered on 17 Dec 2009
3 answers
180 views
I got this code for disable alt key on the radribbonbar.

SetProperty(Me.RadRibbonBar1, "EnableKeyTips", False)

    Public Sub SetProperty(ByVal obj As Object, ByVal propertyName As String, ByVal val As Object)
        Dim t As System.Type = GetType(Telerik.WinControls.UI.RadRibbonBar)
        Dim flags As System.Reflection.BindingFlags = System.Reflection.BindingFlags.Instance Or     System.Reflection.BindingFlags.NonPublic Or System.Reflection.BindingFlags.[Public]
        Dim pi As System.Reflection.PropertyInfo = t.GetProperty(propertyName, flags)
        val = Convert.ChangeType(val, pi.PropertyType)
        pi.SetValue(obj, val, Nothing)
    End Sub

However I got the error message "NullReferenceException".

I use VB2005, and I want to disable Alt hot key.

Do I have any idea??
Nikolay
Telerik team
 answered on 17 Dec 2009
1 answer
211 views

Hi

 I would like to know how I can use a GridView.DataSource with a GridViewComboBoxColumn.

private DataTable GridVDataSource = new DataTable();
**
**
This.GridView1.DataSource = GridVDataSource;
**
**

// Update GridView1 DataSource

private void button1_Click(object sender, EventArgs e)

{       

    GridVDataSource = " SQL operations ("SELECT StateID FROM State")";
}

However the StateID Column must be a combobox.
How can I change the column type to keep the combobox at each DataSource refresh?

If I created the column before :

private void form1_Load(object sender, EventArgs e)
{
    GridViewComboboxColumn Combo = new GridViewComboboxColumn("StateID","");
    Combo.DataType = typeof(int);

    Combo.DataSource = StateDataSource;   // Loaded before

    Combo.DisplayMember = "StateName";

    Combo.ValueMember = "StateID";

    this.GridViewLanguages.Columns.Add(Combo);
}

 

When I refresh the DataSource (button1_Click) the GridView add the DataSource columns like news columns.

So, how is it possible to keep the initial combobox columns or to change them after loading the column type?

Thanks

Victor
Telerik team
 answered on 16 Dec 2009
2 answers
131 views
Hi,

Is it possible to localize the texts in the ToolStrip structure, I mean, ToolStripElements, ToolStripItems, and specially the OverflowManager elements?
I managed to change the "Add or Remove Buttons" in the DropDownMenu changing the Text property in Items[0], but then there are other levels (i.e.: Customize, Reset, etc.); it'll be great help if you can tell me how to change those texts in an easy way.
Thanks in advance.
Edson Lemus
Top achievements
Rank 1
 answered on 16 Dec 2009
1 answer
168 views
Hi,
     
    I have a rad gridview windows control with two text columns, a GridViewCheckBoxColumn column and a button column. AllowAddNewRow is set to "True" for the Gridview. I need to set the state of the checkbox as selected when a new row is created. How can i do this. In which event do i need to write the code for this.

Regards
Shamjith
Nick
Telerik team
 answered on 16 Dec 2009
3 answers
252 views
Hello,
I am iterating through the ControlCollection of a RadPanel and it does not contain any of the RadCheckBox or RadRadioButton.
Is this correct?  Is there another way for me to get these controls from the panel?
Thank you.

 

Victor
Telerik team
 answered on 16 Dec 2009
6 answers
112 views
Has this issues ever been fixed that i reported in JAN 2009
Vassil Petev
Telerik team
 answered on 15 Dec 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?