Telerik Forums
UI for WinForms Forum
3 answers
302 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
135 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
180 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
107 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
134 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
220 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
96 views
Has this issues ever been fixed that i reported in JAN 2009
Vassil Petev
Telerik team
 answered on 15 Dec 2009
4 answers
85 views
Hi

I just found out that, actually we can use the arrow key to navigate between  tab pages.  May I know how can I disable this? Please advice. 
I found the same query in the forum but the ans is posted in that persons support box so please reply.
Thanks
Smitha
Smitha Test
Top achievements
Rank 1
 answered on 15 Dec 2009
5 answers
200 views
For columns that are strongly typed (set to System.DateTime, System.Double etc), when you click on the filtering row you get either a drop-down (for DateTime) or small up/down arrows on the right (for Double) which you can use to create your filter.

The problem is, these filters are causing the users more work than just typing the string -- selecting the date from the calendar dropdown or selecting a double value (which in our case have 3+ decimal places) gets hard. You can't just erase all that's in there with just a backspace (in the datetime case it erases only the year) and if you use the up/down arrows for doubles, they go up/down by 1.

I'm hoping there is a way to just disable these and make those filtering cells act just like a string filter. I would remove the types for those columns but that's not an option since I still want the columns to sort properly. I would appreciate your help in disabling the 'filter assist'.

Thanks,
Baris
Jack
Telerik team
 answered on 15 Dec 2009
1 answer
259 views
HI,
can't find the answer to this anywhere so hope you can help.

I want to programatically expand a group when the user clicks on the group header (not just on the expand icon/button) and subsequently select all the rows in the group (multiselect is true already.)
I know I can use Groups[0].Expand() and use the Rows collection, but I can't find any way to get the index of the group when the user clicks on the group header.

I can detect that the user has selected a group header row by checking the type of the CurrentRow or using e.CurrentRow in CurrentRowChanged, but can't get any further.

I also want to get a value from the group header - e.g. if the GroupByExpression groups on CustomerName, how do I find the value of CustomerName when the user selects a Group Header row?

Many Thanks,
Jason
Martin Vasilev
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)
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?