Telerik Forums
UI for WinForms Forum
1 answer
103 views
I've got a gridview with a combobox column. When I add a new row, I can chose a value from my combobox but how can I set the value of an other column depending on the value that is chosen from the combobox when I insert the new row to the gridview.



Emanuel Varga
Top achievements
Rank 1
 answered on 15 Sep 2011
4 answers
127 views

I have a RadDropDownList in a gridview, the Value Changed Event is raised only when I increase/ Decrease the value with the arrows and not when key pressed.

I partially resolved the problem by adding the following code to the Value Changed Event:

     GridSpinEditor gseditor = sender as GridSpinEditor;

                    if (gseditor != null)

                    {

                        this.CurrentCell.Value = gseditor.Value;

                    }

When I press the backspace key the event is raised except if it the last digit.
Any solution?

Thanks,
Dror

Martin Vasilev
Telerik team
 answered on 15 Sep 2011
2 answers
217 views

Hello,

In a gridview, I am using a GridViewDecimalColumn to display numeric data.

The problem is that I would like to be able to use the two arrows key (Up and Down) to scroll on my GridView, and not have my data being increased or decreased when using them. Is there a way to disable the increasing and decreasing of data when using these keys ?

If not, is there a possibility to use another column type (GridViewTextBoxColumn for example) and then, how can I manage it so only numeric values can be typed into it ?

Thank you for your help.
Bruno
Top achievements
Rank 1
 answered on 15 Sep 2011
2 answers
209 views
is there a way to batch update cell value of a gridview.

I have a situation where i have to loop thru each row and then update one cell value, as shown below. But it becomes really slow when i have large number of records on the grid, so is there any batch update that can be applied. My interface is with a textbox field above the grid and when the user enter text and press apply it has to apply that text to all records on the grid (it could be 100 - 10000 reocords on the grid depending one the search)
foreach (GridViewRowInfo row in radGV_.Rows)
       {
           row.Cells["BName"].Value = txtBName.Text;
       }

Alexander
Telerik team
 answered on 15 Sep 2011
3 answers
166 views
Hello!

I'm using the RadControls 2011Q2 and I want to disable the ability to resize the Form with the RadStatusStrip. I have already disabled the SizingGrip, though I can resize the Form.

Is there a way using the StatusStrip and the window can only be resized as normal Form-behavior?

Kind regards
Juergen
Stefan
Telerik team
 answered on 15 Sep 2011
3 answers
141 views
I have a grid view in which I want to customize the combobox entries for a given row depending on user selection of another combobox entry in the row.  Different rows would have different data sources.  Is this possible, and if so, can you tell me how to do it? 

Thanks.
Claude
Top achievements
Rank 1
 answered on 15 Sep 2011
1 answer
143 views
Hi all,

I have a problem checking all checkbox columns in a grid. I used the next code:

Me.mygrid.GridElement.BeginUpdate()
            For Each row As Telerik.WinControls.UI.GridViewRowInfo In Me.mygrid.Rows
                row.Cells("Checked").Value = True
            Next row 
Me.mygrid.GridElement.EndUpdate()

It works well, but if the grid is sorted by some column the same code is so slow...  

The datatable contains about 15.000 items. is that the problem?
Emanuel Varga
Top achievements
Rank 1
 answered on 14 Sep 2011
5 answers
274 views
Hi,

I'm using Q2 2009 SP1. I want to be able to set my RadDock background to Transparent so that the BackgroundImage of the host Form can show through it. I have used the sample code elsewhere in the thread to do this;

this.radDock1.MainDocumentContainer.BackColor = Color.Transparent;  
            Telerik.WinControls.RadElement el = this.radDock1.MainDocumentContainer.RootElement.Children[0].Children[0];  
            (el as Telerik.WinControls.Primitives.FillPrimitive).BackColor = this.BackColor;   

but I have a couple of problems with this;
1) It picks up the BackColor of the Form but isn't truly transparent (the form's Background Image does not show through). I've tried placing a Picture box with the image on the Form, docked, and at the back of the Z Order, but again the Dock picks up the backcolour of the form, not the graphic immediately behind it.
2) I want to be able to set the individual DocumentWindow items in the RadDock so that they gradually "fade out" - the tabs being fully opaque and gradually fading to transparent until by the time they get to the bottom they are fully transparent. The reason for this is that the Dock and TabStrip is quite an "intrusive" control and seems (to me) to dominate the user interface once its been put there - I'd like to be able to make it blend into the background once the important bit (the actual tabs) are visible to the user.

Can you help ?
Alexander
Telerik team
 answered on 14 Sep 2011
6 answers
179 views
Hi,

I wonder if it is possible to show the editappointment dialog programatically, i.e. not via the built-in context menu?

The dialog should show based on the selection in the scheduler, i.e. the same way as the context menu command does.

The reason why I'm asking is that I want to show the dialog through a separate toolbar command.

Thanks in advance,
Johan
Ivan Todorov
Telerik team
 answered on 14 Sep 2011
11 answers
690 views
How do I find the telerik version for my winforms application?
Ivan Petrov
Telerik team
 answered on 14 Sep 2011
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?