Telerik Forums
UI for WinForms Forum
3 answers
149 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
84 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
177 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
114 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
125 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
163 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
93 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
1 answer
136 views
Hello Dear Experts. :)
I would like to set the conditional formatting from the code for one column.
The row should change color when the value in column (type datetime) subtracted from the results of today's date is less than 1 month.
Is there any possibility to do this? Or do I have to subtract the date using sql, and select as an additional value?

Best Regards
Krzysztof
Jack
Telerik team
 answered on 28 Jul 2009
6 answers
488 views
I have a project that needs expedited and I'm new to Telerik components so I need some advice please.

I was hoping to use LINQ to populate my grid and I'm using a binding source as an intermediary. The grid was not saving my data and it is not clear by the documentation on how to do this. However, it appears, via forum suggestions, that I'll need to create some type of saving mechanism in the RowValidated event to accomplish this if I use LINQ.

So, would it be faster for me to use a dataset and tie the grid into that instead? Are there any considerations when doing it this way? I'm hoping that I can create the dataset, tie the grid to it and I'll be done.

Thank You.

Julian Benkov
Telerik team
 answered on 28 Jul 2009
1 answer
122 views
I can add the components for all the WinForm controls to our OpenSpan visual designer and they work awesomely. Great solid work Telerik. This allows my customers to drag n drop all the Telerik windows controls into the OpenSpan Studio so they can drive automations and integrations to any enterprise legacy application (win32, web, java, lotus, mainframe etc.,) running on the desktop.

However, in the demo, I can see the Win Integration components but they don't appear to be in the win.controls dll like all the other visual components.

Is there a plan to have them as components. OpenSpan Studio is a visual designer and automation IDE and I didn't want our customers having to drop to code per se' if they don't have to.

Thanks.

Francis Carden
Founder, OpenSpan Inc.,
www.openspan.com
Mike
Telerik team
 answered on 28 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)
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?