Telerik Forums
UI for WinForms Forum
1 answer
195 views
For a project, i need to resize ToolWindows when they are floating, and are at a certain position at the screen, but the onlocationChange event isn't fired when I move the floating window on the screen

It is fired  before i make the window floating.

I'm using the 2010 Q2 SP1 release.
Stefan
Telerik team
 answered on 17 Sep 2010
2 answers
130 views
Hi,

I would like to cancel an edit in the RadGridView as soon as the user clicks another row (or when the grid loses focus).
In the CurrentRowChanged Event i call Grid.CancelEdit but it always returns false and the new row is still in Edit-mode after that.

I found the ActionOnLostFocus property in the knowledgebase but that's for Silverlight and i couldn't find that property for WinForms.

Any ideas on how to get the canceledit working?
Jeroen Eikmans
Top achievements
Rank 1
 answered on 17 Sep 2010
4 answers
264 views
Hi Telerik Team,

Please advice if I can change the background colour of Filtering Row in RadGridView, if so then how can I do that. I just want to do that to make it stand out from other rows in the grid.

Many thanks,

Sheraz
Alexander
Telerik team
 answered on 16 Sep 2010
3 answers
248 views
This is probably a very dumb question.
But basically. I have 2 datatables that I merged together. 
I then assigned the resulting dataTable as the datasource of my GridView.
However the rows in the dataTable are not in the order I want the end user to see. 
So I want to Sort the gridview. I'm not seeing a Sort Method on the control. 

How can I sort by the first column (descending)?

Thanks. 
Stefan
Telerik team
 answered on 16 Sep 2010
1 answer
96 views
Hi:

I have a strange problem that I could solve and it's driving me nuts!

I have dynamically added a Lookup column to my grid during form load:

    c = New GridViewLookUpColumn("ColFinalGrade_Manual", "FinalGrade_Manual")
    c.ValueMember = "GdRule_GradeCode"
    c.DisplayMember = "GdRule_GradeCode"
    c.DataSource = ds_Gd.Tables(0)
    RGV_StdEnrl.MasterGridViewTemplate.Columns.Insert(RGV_StdEnrl.Columns.Count - 1, c)

Then during CellBeginEdit of the grid, I have the following codes (except from longer codes)

    If RGV_StdEnrl.Columns(e.ColumnIndex).UniqueName = "ColFinalGrade_Manual" Then
        Dim editor As IInputEditor = Me.RGV_StdEnrl.ActiveEditor
        If Not editor Is Nothing AndAlso TypeOf (editor) Is RadComboBoxEditor Then
            Dim comboElement As RadComboBoxElement = CType(CType(editor, RadComboBoxEditor).EditorElement, RadComboBoxElement)
                            For I As Integer = 0 To comboElement.Items.Count - 1   (!!!!!PROBLEM IS HERE!!!!)
                                If comboElement.Items(I).Text = "" & RGV_StdEnrl.MasterGridViewTemplate.Rows(e.RowIndex).Cells("ColFinalGrade_Manual").Value Then
                                    comboElement.SelectedIndex = I
                                    Exit For
                                End If
                            Next
    . . .

The problem is:  The item count for comboElement is ALWAYS 0 when I click on that particular cell FOR THE FIRST TIME after the form is loaded. So, the correct value never gets selected.  In fact, during the FIRST run of CellBeginEdit, the DataSource for the comboElement is ALWAYS Nothing.  There is nothing I could do to change that. EVEN IF I first test for it begin nothing and then try to assign it a datasource at that time (If comboElement.DataSource Is Nothing Then comboElement.DataSource = theTable), the item count for the comboElement remains 0.  It almost as if it doesn't want to take anything. No error is generated either.

The strangest part is: This problem only happens ONCE every form load (the very first time that cell is click).  After that, the above code works exact as it should.

I'm just stumped, and would appreciate some help on this.

Thanks!

Justin
Jack
Telerik team
 answered on 16 Sep 2010
9 answers
663 views
I have a check box column in a RadGridView, and I can't seem to make it read only.  I've searched through the forums, and only found people with the opposite problem.  I've seen posts about people with read only grids where they want one column editable.  What I want is a checkbox column that is NOT editable, but try as I might, you can edit the check boxes in this grid.

I set the grid's ReadOnly property to True.
I set the individual column's ReadOnly property to True.
I set the grid's AllowEditRow to False.
I even set the grid's BeginEditMode property to BeginEditProgrammatically.

Nothing has any effect.  What do I have to do to make a simple read-only grid?
Jack
Telerik team
 answered on 16 Sep 2010
1 answer
185 views
Hello admin!

I have a file image "bindingmanyfield.gif". It is a radGridview. I added by control (RadLabelElement) in radGridview.

In that, text "15, 100%, Sold Out" with (number, percent, status get from DataTable), I want to add three fields to one Cell of radGridView.

Help me!
Thank you!
Jack
Telerik team
 answered on 16 Sep 2010
6 answers
192 views

Hello,

i use a RadGridView with a GridViewDateTimeColumn.

How can i localize the dropdown calendar of this column ?

Kind Regards,

Ramius

Svett
Telerik team
 answered on 16 Sep 2010
1 answer
181 views
hi,

i use RadWinforms 2010 Q2 in c# 2008 ,

i inherited a customized textbox from RadTextBox , everything works fine except that theme is not applying to this new control, the control have black borders and does not have the same look of RadTextbox,

how should i fix it ?
Nikolay
Telerik team
 answered on 16 Sep 2010
5 answers
151 views
Is there something I'm missing... I have the Ribbonbar with the Office2007Black theme.  I set the tab shapes to TabVsShape and I can see it at design time.  However, the tabs are still rectangular at run-time.  What am I missing?
Stefan
Telerik team
 answered on 16 Sep 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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?