Telerik Forums
UI for WinForms Forum
4 answers
87 views
I have inherited a project that was started with an older version of RadControls for WinForms and naturally i am getting all kinds of errors trying to get it up to par with current.   Specifically i need to know the last version that had RadGridView.TableElement and GridViewCellInfo.Tag.  I would like to at least get this project up and going and then migrate to newer components.

Thanks in advace,

Clay Hall
clayhall
Top achievements
Rank 1
 answered on 15 Oct 2010
14 answers
1.3K+ 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
209 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
53 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
157 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
169 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
246 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
407 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
92 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
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
BindingNavigator
Styling
Barcode
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
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?