Telerik Forums
UI for WinForms Forum
5 answers
304 views
Hi!
I am new to RadTools, so feel free to laugh. I am using the RadScheduler, however I don't want to use the context menu for adding a new appointment. I would just like to be able to highlight the area and double click (or another shortcut key).   I cannot seem to figure out how to get the highlighted time slot to save the appointment. 

Any suggestions?

Thanks!
Dobry Zranchev
Telerik team
 answered on 11 May 2010
6 answers
397 views
How would one override the context menu when you right click on the top caption bar of a floating dock window.
Adrian
Top achievements
Rank 2
 answered on 11 May 2010
3 answers
252 views

Hi,

I have a grid which I populate using the below method

 

this.gvSheet.MasterGridViewTemplate.LoadFrom(q.ExecuteReader());

            for (int i = 0; i < gvSheet.MasterGridViewTemplate.Columns.Count; i++)

            {

                this.gvSheet.MasterGridViewTemplate.Columns[i].Width = 150;

                this.gvSheet.MasterGridViewTemplate.Columns[i].WrapText = false;

            }

 

I then add three checkbox columns using the below

GridViewCheckBoxColumn cb1 = new GridViewCheckBoxColumn();

            cb1.UniqueName = "ucb1";

            cb1.HeaderText = “cb1";

            cb1.Width = 150;

            cb1.WrapText = false;

            cb1.ReadOnly = false;

            this

 

.gvSheet.Columns.Add(cb1);

 

 

            this.gvSheet.Columns.Add(cb2);

 

 

            this.gvSheet.Columns.Add(cb3);

 

 

 

 

I’m trying to get the values of these three GridViewCheckBoxColumn on the gvSheet_ValueChanged(

I’ve tried

gvSheet.CurrentRow.Cells["ucb1"].Value.ToString() and gvSheet.CurrentRow.Cells["cb1"].Value.ToString() and I get nothing back.

 

What I’m trying to achieve is if I select cb1 and cb2 column I should get true, true, false returned. I have some business logic which works off the values of these three check boxes.

 

Any help or pointers would be great.

 

Thanks

Karl
Top achievements
Rank 1
 answered on 10 May 2010
1 answer
516 views
Hi,

I have a winforms radGridView with a group summary row that sums various fields.  From reading other posts I understand that to format the summary row I need to use the viewCellFormatting event.  My question it why does the text (numeric data) not get aligned to the middleRight by the following code?

 private void rgvFinancials_ViewCellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
        {
            if (e.CellElement is Telerik.WinControls.UI.GridSummaryCellElement)
            {
                float f = 8.25f;
                                
                e.CellElement.Alignment = ContentAlignment.MiddleRight;
                e.CellElement.Font = new Font("Microsoft Sans Serif", f, FontStyle.Bold, GraphicsUnit.Point);
                e.CellElement.UpdateLayout();
            }
        }



The Font size and bold properties are being set correctly but the text alignment appears to be centered not to the right.





Jack
Telerik team
 answered on 10 May 2010
5 answers
540 views
Hi there,

My windows application includes Checked List box and Picture box in the forms. I am trying to migrate my application using RAD controls. I have looked into the Telerik RAD tool box but i couldnt find the Checked list box and Picture box. Could you please assist where could i find these controls.
Could you please provide few samples/Links which could help me migrate the controls.

Also could you please let me know how to handle Checked events in Telerik RadDatagridView check box column.

Thanks,
Prasad.
Svett
Telerik team
 answered on 10 May 2010
1 answer
265 views
Hi,

Is it possible to add a tab character (\t) to a grouping text?
If I'm adding a tab character to the cells in the column on which I'm grouping, the tab isn't visible.

Kind regards.
Alexander
Telerik team
 answered on 10 May 2010
1 answer
196 views
I'm using Telerik Windows Forms 2010 Q1.
I have a desktop application that have some functions, one of them is freezing rows and columns for user to check and compare data.
I used pin feature in gridview. But got some unconvenience as followed:
When I pinned some rows (or just one row) then refreshed the grid (reload data from database and rebind to grid), this encountered an error.
I put a try ... catch and found out the error: Column 'COLUMN_NAME' does not belong to table, with table here is datasource.

To fix this, I put an iteration that unpin all currently pinned rows right before the datasource assignment. But it's my solution for the ease of my work.

Would you tell me if there is any other solutions for that matter or Telerik Windows Forms GridView has supported this (pin rows) internally?

Jack
Telerik team
 answered on 10 May 2010
3 answers
256 views
Hi,
how do i style the radMessageBox? it seems it doesn't appear in q1 2010 VisualStyleBuilder

Thanks a lot,
Anca
Alexander
Telerik team
 answered on 10 May 2010
1 answer
123 views
Hi all,

I have upgraded my application from Q1 2010 SP1 to Q1 2010 SP2 to fix a memory leak. However, in this new Service Pack I encounter another problem:

I have a couple of listboxes with multiselect, in which the user can select multiple items. I use the theme Office 2007 Silver in my application, and in Q1 2010 SP1 (and older versions) it was clear: selected items had a grey background and the 'current' item had a grey border around the item. So when a user deselects an item it changes from a grey background (selected) to a grey border (current). See also the first attached screenshot.

In SP2 however, the styles\themes seem to have changed. Both the selected items and the current item are now orange. The exact same color of orange... So the difference between the selected items and the 'current' (possibly not-selected) item is not visible. Also  when a user deselects an item, it is not visible that the item is deselected until the users selectes another item. See the second attached screenshot.

This is not only with the Office 2007 theme but also with other themes. The only theme so far where this still works correct is 'Breeze', which I am not going to use in my application. Is this a mistake with the themes/styles or is this intentional? Can I adjust this by making my own theme (copied from Office 2007)? I have no experience with the Visual Style Builder and cannot find the 'selected item' style and the 'current item' style for ListBoxes in the Style Builder... Any help is appreciated. Thanks!

Regards,
A. Bennen.
Victor
Telerik team
 answered on 10 May 2010
1 answer
172 views
Hi all,

I have upgraded my application from Q1 2010 SP1 to Q1 2010 SP2 to fix a memory leak. However, in this new Service Pack I encounter another problem:

I have a couple of listboxes with multiselect, in which the user can select multiple items. I use the theme Office 2007 Silver in my application, and in Q1 2010 SP1 (and older versions) it was clear: selected items had a grey background and the 'current' item had a grey border around the item. So when a user deselects an item it changes from a grey background (selected) to a grey border (current). See also the first attached screenshot.

In SP2 however, the styles\themes seem to have changed. Both the selected items and the current item are now orange. The exact same color of orange... So the difference between the selected items and the 'current' (possibly not-selected) item is not visible. Also  when a user deselects an item, it is not visible that the item is deselected until the users selectes another item. See the second attached screenshot.

This is not only with the Office 2007 theme but also with other themes. The only theme so far where this still works correct is 'Breeze', which I am not going to use in my application. Is this a mistake with the themes/styles or is this intentional? Can I adjust this by making my own theme (copied from Office 2007)? I have no experience with the Visual Style Builder and cannot find the 'selected item' style and the 'current item' style for ListBoxes in the Style Builder... Any help is appreciated. Thanks!

Regards,
A. Bennen.
Victor
Telerik team
 answered on 10 May 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?