Telerik Forums
UI for WinForms Forum
14 answers
1.2K+ views
Is is possible to span multiple colums with the gridview header text?  Or to turn off the header text on a particular column in a gridview while still showing the column?  In other words I have two columns 'origin city' and 'origin state' and I would like one header across both columns that says 'Origin'
John Thompson
Top achievements
Rank 1
 answered on 15 Oct 2010
7 answers
206 views
Hello,

in my app I have to import and export iCalendar data. I do not use data binding. iCalendar format is used to persist data.

Unfortunately the existing implementation is limited.Only a subset of the appointment properties are exported. For example resources are completely missing. Is there an "easy" way to add resources for import/export?

A second problem is double import creating double entries instead of overwriting. Every VEVENT has a uid property which uniquely identifies the event. This should not create duplicates on import.

Regards
Martin
jdgoulden
Top achievements
Rank 1
 answered on 15 Oct 2010
6 answers
1.1K+ views
Hello,

The CellValueChanged event never seems to fire in the GridView.

I have an event handler on this event, but it never seems to be picked up

Richard
Jack
Telerik team
 answered on 15 Oct 2010
2 answers
51 views
Hello,
I have a Main Form which is a MDI Container. When a child form which is maximizable, is maximized by the user and the user tries to show another child form which its MaximizeBox property is False, the latter form also maximizes(because the former one is Maximized). How do I must prevent such an action to occur.
please help me,
Thank you, Tooraj Azizi.
Emanuel Varga
Top achievements
Rank 1
 answered on 15 Oct 2010
9 answers
152 views
I am trying to get the .text property from the programatically added menu items in my click event. I need the .text of the menu item to determine the ID I am putting in to the database table for my report.

These menu items are generated based on what models we are currently producing. These models are housed in a .txt file in my project. I have it set up this way, because in the future we need to allow easy adding and removing of model numbers and I did not want to set up a database table for 2 - 5 model numbers.

The first snippet is the code in my click event for the menu item.
The second snippet is the code I am using to generate my menu items at runtime.
Private Sub mnuItemModel_click(ByVal sender As System.Object, ByVal e As System.EventArgs)
 
        Dim connStr As String
        connStr = "*****"
 
        Dim insertString = "INSERT INTO REJECT_REPORT (REJECT_ID) SELECT dbo.fnRejectRpt_Next_ID('" + modelNumber + "')"
 
        Dim conn = New SqlConnection(connStr)
        conn.Open()
 
        Dim comm = New SqlCommand(insertString, conn)
        comm.ExecuteNonQuery()
 
        conn.Close()
 
        loadGrid()
 
    End Sub
Dim mnuItemAdd As New RadMenuItem("&Add")
        Dim mnuItemAddModel As New RadMenuItem("Model")
        mnuItemsTools.Items.Add(mnuItemAdd)
 
        mnuItemAdd.Items.Add(mnuItemAddModel)
 
        AddHandler mnuItemAddModel.Click, AddressOf mnuItemAddModel_click
 
        Dim reader As New System.IO.StreamReader(filePath)
 
        While Not reader.EndOfStream
 
            Dim currentLine As String = reader.ReadLine
 
            Dim mnuItemModel As New RadMenuItem(currentLine)
 
            mnuItemAdd.Items.Add(mnuItemModel)
 
            AddHandler mnuItemModel.Click, AddressOf mnuItemModel_click
 
        End While
Richard Slade
Top achievements
Rank 2
 answered on 15 Oct 2010
3 answers
167 views
Hi I am using Telerik Rad Q2 Controls for Winforms. I have following two questions and I have searched a lot but could not found. 1- How I can assign different ForeColors for list Box Items if ListBox have a theme. 2- How to Remove the bottom scroll bar so that if the contents are large then display on multiple lines Autoscroll property of listbox is false. but till bottom scroll bar automatically displays~26nbsp~3b Please response early. Thanks in advance Ghulam Haider
Emanuel Varga
Top achievements
Rank 1
 answered on 15 Oct 2010
6 answers
235 views
Hi

I'm using version 2010.2.10.713 radgridview with persian localization & RTL layout. Everything is fine except for when a column is grouped. Although my column names are in persian, the headertext of the grouped column is not the column original HeaderText, but it seems that it is the unique name of that column. How can I fix it to show the Persian HeaderText instead of column unique name when a column is grouped?

Thanks
Emanuel Varga
Top achievements
Rank 1
 answered on 15 Oct 2010
3 answers
391 views
Hi,

I have a RadGridView control, which has 9 columns, created at design time. The control is being populated with data at run-time.

I am populating the RadGridView by using the Add method:

RadGridView1.MasterTemplate.Rows.Add(... some values...)

After populating I am iterating each row in the control as follows:

For Each row As GridViewRowInfo In RadGridView1.MasterTemplate.Rows

I want to get the cell element for the second cell, which I believe I have do do with the GetCellElement method:

RadGridView1.TableElement.GetCellElement(row, RadGridView1.MasterTemplate.Columns(1))

However, GetCellElement is always returning Nothing. I can step through the code using the debugger, and both the column and row exist. I have tested GetRowElement, and this also returns nothing.

I need the CellElement as I want to enable and disable the cell based on some criteria. Each row potentially contains child rows.

Why do I always get nothing? Is there a problem with the way I am using GetCellElement, or do I need to iterate the rows differently?

*EDIT* Forgot to say, I am using the latest version of the Telerik controls (Q2 2010 SP2).

Thanks in advance,
Matt.
Matt
Top achievements
Rank 1
 answered on 15 Oct 2010
2 answers
88 views
Hi:
I need to quit some properties of my gridview. For example quit the reorder columns.
Thanks
Svett
Telerik team
 answered on 15 Oct 2010
17 answers
411 views
Okay, so I have tried setting every property I can find with the word "Height" in it but am still unable to simply specify how tall the drop-down is. Currently I have three items in it, each with an image. When dropped down only 1 item shows and I want all three to be visible. Seems like this should be way more intuitive, like with a property called "DropDownHeight", but it does not exist anymore.

Any help is appreciated.

Thanks!
Peter
Telerik team
 answered on 15 Oct 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?