Telerik Forums
UI for WinForms Forum
3 answers
140 views
I have a RadSpinEditor with the following ValueChanging event handler:

private void CrewQtyText_ValueChanging(object sender, Telerik.WinControls.UI.ValueChangingEventArgs e)
{
     foreach (Telerik.WinControls.UI.GridViewRowInfo row in RequiredRolesGrid.Rows)
     {
          if (Convert.ToInt16(row.Cells["Workgroup"].Value) > Convert.ToInt16(e.NewValue))
          {
               e.Cancel = true;
               break;
          }
     }
     if(!e.Cancel)
          foreach (Telerik.WinControls.UI.GridViewRowInfo row in RequiredEquipGrid.Rows)
          {
                if (Convert.ToInt16(row.Cells["Workgroup"].Value) > Convert.ToInt16(e.NewValue))
                {
                     e.Cancel = true;
                     break;
                }
           }
 
           if (e.Cancel)
                 MessageBox.Show("Requirements already exist for workgroup " + e.OldValue);
}

Basically if the user has other requirements that depend on the value in the spin editor I don't want them to be allowed to change the spinner.  That seems to work fine, but the buttons on the spinner get stuck once the operation has been Cancelled, and the next time that button is pressed it behaves as though it was in it's old state.  For example (assuming the spinner has an integer value), I increment the spinner to 3 (#1 from screen shot).  Let's say the user has a requirement that prevents them from lowering the spinner value below 2.  Now I decrement the spinner twice (#2 from screen shot).  The first one works, lowering the value to 2.  The second click causes the operation to be canceled.  Now say I increment the value to 5 (#3 from screen shot, note 'depressed' spinner button').  The NEXT time I try to decrement (just once), the value returns to 2 (#4 from screen shot), the last value that caused the operation to be cancelled.  I would expect it to return to 4, 3, then 2.  You can see that the down button on the spinner stays highlighted after the operation is cancelled.  I know this probably sounds confusing.  Please try to follow the screen shot provided, and let me know if you need more detail.
Peter
Telerik team
 answered on 12 Jan 2012
1 answer
185 views
Hi all,

Is there a way to show the appointment edit dialog in read-only when an appointment has the property AllowEdit set to false, instead of not showing the edit dialog at all.

The problem is that it isn't possible to see all the information of the appointment.

Greetings
Ivan Todorov
Telerik team
 answered on 12 Jan 2012
1 answer
129 views
Hello. 
Before when I work company I used Wpf RadControl.
but this day at another part i think i need to use winform control.
but radcontrol for winform dosn have raddataform..
i think raddataform is good than property grid.. 
because i used AutoGeneratingField at raddataform..
but propertygrid dosn have AutoGeneratingField.

just i want know will you have a plan to make raddataform at winform...
thanks
Jack
Telerik team
 answered on 12 Jan 2012
1 answer
352 views
I'm trying to force the keyboard input into the MultiColumn ComboBox to upper case and limit it to 3 characters. I tried setting the 'ColumnCharacterCasing' and MaxLength' of the bound grid column, but this didn't work. Any suggestions?
Svett
Telerik team
 answered on 12 Jan 2012
1 answer
160 views
If you end edit on any spin edit control in a gridview it plays the windows ding sound. Is there any way stop this?

Thanks
Stefan
Telerik team
 answered on 12 Jan 2012
6 answers
520 views
Hi.

I have defined a set of columns that are bound to my BindingList<RowEntry> collection. This works like it should. I am now in the process of adding some extra columns dynamically. How do I populate these? is there a "DidNotFoundPropertyManuallySetCellData" event? :-)

/jorge
Julian Benkov
Telerik team
 answered on 12 Jan 2012
2 answers
115 views
Hi,

Is it possible to setup items in a RadRibbonBarButtonGroup so that when setup in Vertical orientation you can get two items on one line.

E.G.
I want to have A Label on one Line, then a Textbox and Label on the next line and then a Label 

At the moment I have set the RadRibbonBarButtonGroup  Orientation to Vertical but this gives me a line for each element

thanks 

David








Peter
Telerik team
 answered on 12 Jan 2012
9 answers
409 views
Hi,

I need your help to use GridViewComboBoxColumn inside RadGridView.

1:     Please guide me how can i access the GridViewComboBoxColumn in RadGridView_CellFormatting Event.

2:    How can i get the GridViewComboBoxColumn when processing each row of the grid?

Thanks.
Ivan Petrov
Telerik team
 answered on 11 Jan 2012
13 answers
969 views
Hi,
    There is a button on my form on the click of which I am creating a local object, adding that object to a generic list. I want to rebind my RadGridView to that list every time there is a click fired. Is it possible?
Julian Benkov
Telerik team
 answered on 11 Jan 2012
1 answer
141 views
Hi,
I have a custom style defined from the 2011 Q2 GridDataCellElement.  Since GridHyperlinkCellElement is new, is it possible to copy the GridDataCellElement styles into the GridHyperlinkCellElement?

Thanks,
David
Ivan Petrov
Telerik team
 answered on 11 Jan 2012
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
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
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?