Telerik Forums
UI for WinForms Forum
2 answers
302 views
Hello,

We used to use Validating event to do cell validation in the versions before Q2. This event will get fired when a user types in a cell and then moves the input focus to another cell in the same row, to another cell in different rows or to other controls in the form.

In Q2, it seems that this event won't get fired as the previous versions do. How can we achieve cell validation that our customers ask us to do in Q2?

Thanks in advance

BR/shortie

shortie
Top achievements
Rank 2
 answered on 30 Jul 2009
1 answer
157 views
Hi!

I need to cast value property to double but it generates conversion error


thanks
Aaron
Top achievements
Rank 2
 answered on 29 Jul 2009
5 answers
186 views
Hi there,

How can it be that the item shows as "Sparen & Beleggen" and shows as "Sparen _Beleggen" in the pulldownlist?

By the way: Why can't I paste (or attach) a (small) picture? One picture often explains more than thousand words.

I'd like to hear from you.
Just Me
Robert
Top achievements
Rank 1
 answered on 29 Jul 2009
3 answers
206 views
I can get the selected item index and i would have expected the TAG in the data to be the TAG from the selected item (like a selecteditemtext). Or do I need to code, usng the selected item index into the data source.

Thanks.
Peter
Telerik team
 answered on 29 Jul 2009
3 answers
154 views
Does the RadComboBox support the Home/End/Page Up/Page Down Keys when browsing its Items like .Net's ComboBox does?  If so, how?  Thanks.
Boyko Markov
Telerik team
 answered on 29 Jul 2009
1 answer
222 views
Hi
I want to disable all days except Monday for all Months in RAD dateTimePicker. I have wriiten the following Code but still able to select dates other than Monday... 

public Form1()
        {
            InitializeComponent();
            this.radDateTimePicker1.DateTimePickerElement.Opened +=new EventHandler(DateTimePickerElement_Opened);
           

   

        }

        private void DateTimePickerElement_Opened(object sender, EventArgs e)
        {
            CalendarTableElement table = ((this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as
                RadDateTimePickerCalendar).Calendar.CalendarElement.CalendarVisualElement.Children[0].Children[1] as
                CalendarTableElement);
            foreach (CalendarCellElement cell in table.Children)
            {
                cell.Enabled = true;
               
                if (cell.Date.DayOfWeek != DayOfWeek.Monday)
                {
                    cell.Enabled = false;
                                     

                }

            }

Boyko Markov
Telerik team
 answered on 29 Jul 2009
1 answer
167 views
Dear Telerik,

I am currently having problems displaying a ComboBox column in RadGridView.  The following is my code:

         
            GridViewCheckBoxColumn colIsSelected = new GridViewCheckBoxColumn("Select"); 
            GridViewLookUpColumn colProjectRoles = new GridViewLookUpColumn("RoleID"); 
            colProjectRoles.DropDownStyle = RadDropDownStyle.DropDownList; 
            colProjectRoles.DisplayMember = "Name"; 
            colProjectRoles.ValueMember = "ID"; 
            colProjectRoles.DataSource = General.ProjectRoles; 
 
            rgvUsers.Columns.Add(new GridViewDataColumn("UserID")); 
            rgvUsers.Columns.Add(colIsSelected); 
            rgvUsers.Columns.Add(colProjectRoles); 
            rgvUsers.Columns.Add(new GridViewDataColumn("CompanyName")); 
            rgvUsers.Columns.Add(new GridViewDataColumn("LastName")); 
            rgvUsers.Columns.Add(new GridViewDataColumn("FirstName")); 
 
            rgvUsers.Columns["RoleID"].HeaderText = Properties.Resources.AssignUser_ProjectRole; 
            rgvUsers.Columns["CompanyName"].HeaderText = Properties.Resources.AssignUser_CompanyName; 
            rgvUsers.Columns["LastName"].HeaderText = Properties.Resources.AssignUser_LastName; 
            rgvUsers.Columns["FirstName"].HeaderText = Properties.Resources.AssignUser_FirstName; 
 
            rgvUsers.Columns["Select"].ReadOnly = false; 
            rgvUsers.Columns["RoleID"].ReadOnly = false; 
            rgvUsers.Columns["CompanyName"].ReadOnly = true; 
            rgvUsers.Columns["LastName"].ReadOnly = true; 
            rgvUsers.Columns["FirstName"].ReadOnly = true; 
 
            rgvUsers.Columns["UserID"].IsVisible = false; 
 
            foreach (TLUser user in userList) 
            { 
                object[] values = { user.UserId, false, Guid.Empty, user.CompanyName, user.LastName, user.FirstName }; 
                rgvUsers.Rows.Add(values); 
            } 

Boryana
Telerik team
 answered on 29 Jul 2009
2 answers
160 views
Hi Telerik team,
in our project we want to use Office2007Black, to do so I call following in base form's constructor ThemeResolutionService.ApplicationThemeName = "Office2007Black"
It works just fine. However I also want to override theme for specific component (for example RadGridView). I have placed RadThemeManager on our base From, but if Office2007Black is active, it supresses this the custom theme.
Is there any way to implement this to have simultaneously active Office2007Black for application and MyCustomTheme for RadGridView?
FilipN
Top achievements
Rank 1
 answered on 29 Jul 2009
1 answer
229 views
I extrapolated from the following Forum Post to figure out how to set ToolTips for my RadSpinEditor Control: http://www.telerik.com/community/forums/winforms/ui-controls/tooltip-does-not-work-on-radtextbox.aspx

I was able to set the ToolTip for the Up and Down Buttons of the Control but the one for the Text Box part of it doesn't appear to be working.  See code sample below:

        With CType(rspnNumPastUnits.RootElement.Children(0), RadSpinElement) 
            With .TextBoxItem 
                .AutoToolTip = True 
                .ToolTipText = "0 = Unit-To-Date" 
            End With ' --  
 
            With .UpButton 
                .AutoToolTip = True 
                .ToolTipText = "0 = Unit-To-Date" 
            End With ' --  
 
            With .DownButton 
                .AutoToolTip = True 
                .ToolTipText = "0 = Unit-To-Date" 
            End With ' --  
        End With ' -- CType(rspnNumPastUnits.RootElement.Children(0), RadSpinElement) 
 


Telerik Q1 2009 (v2009.1.9.414), VS 2005 (v8.0.50727.762 SP.050727-7600), XP SP3 on Core2Duo 2.99GHZ with 3GB.
Boryana
Telerik team
 answered on 29 Jul 2009
4 answers
117 views
Hi,
I am interested in posting articles about Telerik controls that i work with. It will be great if my question is answered.
How and where to posts articles and blogs about the work i do using Telerik RAD controls?
Sethuram Ragunathan
Top achievements
Rank 1
 answered on 29 Jul 2009
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?