Telerik Forums
UI for WinForms Forum
3 answers
1.0K+ views
Hello!
I use RadGridView with grouping (with subtotal summary rows) and with total summary row at the end of the gridview.
I need to change text style only in total summary row. I've tried to use ViewCellFormatting event
private void gvProducts_ViewCellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
        {
            if (e.CellElement is GridSummaryCellElement)
            {
                e.CellElement.TextAlignment = ContentAlignment.BottomRight;
                e.CellElement.Font = new Font(e.CellElement.Font, FontStyle.Bold);
            }
        }
But this code changes text style in each summary row. Could you help me, how can I understand is it a subtotal summary row or the last total summary row? Thank you in advance.
Ralitsa
Telerik team
 answered on 16 Dec 2013
3 answers
100 views
Hi!
Sorry, the title should be: Reproducing the Office2007blue Group Row Line.

After upgrading from 2009-Q1 to 2013-Q2, we found out that the ControlDefault Theme (Office2007Blue) for the gridview's "Group Rows" look significantly different, and cannot be simply reproduced with any provided theme in the 2013-Q2 release.

We really liked having the Group Row looking like:
1) The Group Expansion icon in the first column
2) The Group Summary Text
3) A light-blue horizontal line, with a thickness of about 5 pixels, with rounded endpoints, vertically centered in the row, and going to the last column.

Thanks for your help in reproducing this look using 2013-Q2 technology!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Dec 2013
3 answers
149 views
I was curious if it was possible to make a Non-Active tab flash?

For instance, something is added to the grid on a non selected tab. I would like the tab to flash blue and white until the user clicked on it. But i don't want the application to automatically swap tabs. 

Thanks!
Nikolay
Telerik team
 answered on 12 Dec 2013
1 answer
97 views
Hi,

We are using schedule view to display list of appointments in the range of 1 year with 1500 schedules.

We need to show some of the text in the subject as bold. For that, we are using Run control inside appointment template.
This implementation makes scroll navigation very slow.
Pls let me know the solution or any alternate way for implementing this.


- Sugumar P
George
Telerik team
 answered on 12 Dec 2013
4 answers
260 views
Apologies if this has been covered, but I have exhausted Google searches on this one.

I have a grid with 5 child grids.  One of the child grids does proper horizontal scrolling so the user can see all columns with their widths set as they were at designtime.  However, the other 4 would try to mash all coluns together to fit, and then upon changing the size of said columns, it would only show what would fit.

Examining all the properties of the 5 templates, I really don't see anything different that would cause this.  I even set HorizontalScrollState to AlwaysShow and still no scrollbar.

Also, I need to know how to change the height of the child grid as well.  This could be the problem, maybe the scroll bar is there just not visible?

Thanks.
George
Telerik team
 answered on 12 Dec 2013
2 answers
124 views
hi ..


Previously I used following code to fill the Data Grid Microsoft's own
But it does not work with the new tool Grid View


myconn = New SqlConnection(constr)
       myconn.Open()
       mycomm = New SqlCommand("Select * from tab1 ", myconn)
       reader = mycomm.ExecuteReader
       reader.Read()
       DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(0).Value = reader(0).ToString.ToUpper
       DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(1).Value = reader(1).ToString.ToUpper
       DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(2).Value = reader(2).ToString.ToUpper
       DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(3).Value = reader(3).ToString.ToUpper
       DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(4).Value = reader(4).ToString.ToUpper
       reader.Close()
       myconn.Close()


What is the solutionØŸ!
THX




Mr
Top achievements
Rank 1
 answered on 11 Dec 2013
8 answers
543 views
Hello:
When I press double click on a tab of the RadRibbonBar, all tabs are minimized.
How do I to control this state?

I need control it, because the space into my form chage every time it's minimized and the location of all the controls cange too.

thanks
Peter
Telerik team
 answered on 11 Dec 2013
6 answers
341 views
Hello Support Team.
I need to know is it possible to put an image in cells?
For example in item(2)(4) of radListView1
Thanks.
Dimitar
Telerik team
 answered on 11 Dec 2013
9 answers
429 views
Hi I have a RadComboBox wihich is populated by a datatable. This is fine. I map the id to an id in my main table using SelectedValue. I have a check in CurrentRowChanging event to see if there are pending changes and there always are, It's as if the combobox keeps setting the rowstate as modified, even though   the values haven't changed.  Any Ideas?
Ankhaa
Top achievements
Rank 1
 answered on 11 Dec 2013
4 answers
265 views
I was just about to send a support ticket when I found the solution to a request for the GridView layout that I'd like to share:

The requested layout:
- The grid is grouped by one column by default
- The user can change the sort order of all columns
- The user can't change the grouping of the grid

Solution:
- Add the GroupByExpression for the column in code or through the designer
- RadGridView.EnableGrouping == true (if false, the grouping header is not shown)
- RadGridView.MasterGridViewTemplate.AllowDragToGroup == false (no more columns can be added to the grouping header)
- set the "AllowGroup" property of the column in the grouping header to "false" (the user can't remove the grouping column from the header)

Perhaps someone else finds this useful.

EDIT:
I missed, that the "column button" in the grouping header contains a "X" to remove the group. This Close Button is still enabled and the user can remove the group. Any suggestions?
Nadia Sangiovanni
Top achievements
Rank 1
 answered on 10 Dec 2013
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
Bronze
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
Bronze
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?